aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-07-23 23:23:05 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-08-26 14:25:21 +0000
commitbc41f969faaf23c235fe2bb2415614b3b38e23c7 (patch)
treec479fd3a99f7e82534ca0195fda10f6dd465aefd
parent9cd738681a431262522a678c80919f0a561eff9e (diff)
downloadaports-bc41f969faaf23c235fe2bb2415614b3b38e23c7.tar.gz
aports-bc41f969faaf23c235fe2bb2415614b3b38e23c7.tar.bz2
aports-bc41f969faaf23c235fe2bb2415614b3b38e23c7.tar.xz
community/py3-twine: move from testing and take over maintainership
-rw-r--r--community/py3-twine/APKBUILD (renamed from testing/py3-twine/APKBUILD)12
1 files changed, 5 insertions, 7 deletions
diff --git a/testing/py3-twine/APKBUILD b/community/py3-twine/APKBUILD
index 080d62955e..1c20944794 100644
--- a/testing/py3-twine/APKBUILD
+++ b/community/py3-twine/APKBUILD
@@ -1,7 +1,6 @@
# Contributor: Leo <thinkabit.ukim@gmail.com>
-# Maintainer:
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-twine
-_pkgname=twine
pkgver=3.2.0
pkgrel=0
pkgdesc="Collection of utilities for publishing packages on PyPI"
@@ -9,8 +8,7 @@ options="!check" # Requires unpackaged 'pretend'
url="https://twine.readthedocs.io/en/latest/"
arch="noarch"
license="Apache-2.0"
-depends="
- python3
+depends="python3
py3-pkginfo
py3-readme_renderer
py3-requests>=2.20.0
@@ -20,15 +18,15 @@ depends="
py3-keyring
"
checkdepends="py3-pytest"
-source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-builddir="$srcdir/$_pkgname-$pkgver"
+source="https://files.pythonhosted.org/packages/source/t/twine/twine-$pkgver.tar.gz"
+builddir="$srcdir/twine-$pkgver"
build() {
python3 setup.py build
}
check() {
- PYTHONPATH="$PWD/build/lib" py.test-3
+ PYTHONPATH="$PWD/build/lib" pytest
}
package() {