Skip to content
Snippets Groups Projects
Commit bf1b38c7 authored by Leo's avatar Leo
Browse files

testing/py3-twine: new aport

https://twine.readthedocs.io/en/latest/
Collection of utilities for publishing packages on PyPI
parent ddda16d2
No related branches found
No related tags found
No related merge requests found
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-twine
_pkgname=twine
pkgver=2.0.0
pkgrel=0
pkgdesc="Collection of utilities for publishing packages on PyPI"
options="!check" # Requires unpackaged 'pretend'
url="https://twine.readthedocs.io/en/latest/"
arch="noarch"
license="Apache-2.0"
depends="
python3
py3-pkginfo
py3-readme_renderer
py3-requests
py3-requests-toolbelt
py3-setuptools
py3-tqdm
"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
PYTHONPATH="$PWD/build/lib" py.test-3
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="c7db20800191accf3324b959a9ddeef3c35141cde77de9788b239fe764006dd20b8236c2cbd23192af2ac592567e6c917896e1402dfa96b964699aefb636968d twine-2.0.0.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment