aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-16 02:48:47 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-02 01:43:47 +0000
commitaad2afe051973fa7fd6f4f9b83703c09445ff17c (patch)
tree4266144bb0c3984f784b0dd910d33fa98a72c353
parentaad758e364da9a69d0d519b619cc6eb2c7d150f8 (diff)
downloadaports-aad2afe051973fa7fd6f4f9b83703c09445ff17c.tar.gz
aports-aad2afe051973fa7fd6f4f9b83703c09445ff17c.tar.bz2
aports-aad2afe051973fa7fd6f4f9b83703c09445ff17c.tar.xz
community/py3-*: move from main/ and modernize
-rw-r--r--community/py3-argparse/APKBUILD (renamed from main/py3-argparse/APKBUILD)3
-rw-r--r--community/py3-asn1-modules/APKBUILD (renamed from main/py3-asn1-modules/APKBUILD)3
-rw-r--r--community/py3-click/APKBUILD (renamed from main/py3-click/APKBUILD)0
-rw-r--r--community/py3-constantly/APKBUILD (renamed from main/py3-constantly/APKBUILD)0
-rw-r--r--community/py3-curl/APKBUILD (renamed from main/py3-curl/APKBUILD)0
-rw-r--r--community/py3-dateutil/APKBUILD (renamed from main/py3-dateutil/APKBUILD)2
-rw-r--r--community/py3-exifread/APKBUILD (renamed from main/py3-exifread/APKBUILD)2
-rw-r--r--community/py3-hiredis/APKBUILD (renamed from main/py3-hiredis/APKBUILD)0
-rw-r--r--community/py3-hiredis/hiredis-0.14-compat.patch (renamed from main/py3-hiredis/hiredis-0.14-compat.patch)0
-rw-r--r--community/py3-hiredis/system-hiredis.patch (renamed from main/py3-hiredis/system-hiredis.patch)0
-rw-r--r--community/py3-hoedown/APKBUILD (renamed from main/py3-hoedown/APKBUILD)2
-rw-r--r--community/py3-httplib2/APKBUILD (renamed from main/py3-httplib2/APKBUILD)0
-rw-r--r--community/py3-icu/APKBUILD (renamed from main/py3-icu/APKBUILD)0
-rw-r--r--community/py3-importlib-metadata/APKBUILD (renamed from main/py3-importlib-metadata/APKBUILD)0
-rw-r--r--community/py3-incremental/APKBUILD (renamed from main/py3-incremental/APKBUILD)2
-rw-r--r--community/py3-ipaddress/APKBUILD (renamed from main/py3-ipaddress/APKBUILD)1
-rw-r--r--community/py3-itsdangerous/APKBUILD (renamed from main/py3-itsdangerous/APKBUILD)2
-rw-r--r--community/py3-jwt/APKBUILD (renamed from main/py3-jwt/APKBUILD)3
-rw-r--r--community/py3-jwt/no-cov-report.patch (renamed from main/py3-jwt/no-cov-report.patch)0
-rw-r--r--community/py3-libvirt/APKBUILD (renamed from main/py3-libvirt/APKBUILD)3
-rw-r--r--community/py3-libvirt/musl-gnuc-prereq.patch (renamed from main/py3-libvirt/musl-gnuc-prereq.patch)0
-rw-r--r--community/py3-lockfile/APKBUILD (renamed from main/py3-lockfile/APKBUILD)0
-rw-r--r--community/py3-lxml/APKBUILD (renamed from main/py3-lxml/APKBUILD)0
-rw-r--r--community/py3-munkres/APKBUILD (renamed from main/py3-munkres/APKBUILD)3
-rw-r--r--community/py3-musicbrainzngs/APKBUILD (renamed from main/py3-musicbrainzngs/APKBUILD)0
-rw-r--r--community/py3-nose/APKBUILD (renamed from main/py3-nose/APKBUILD)0
-rw-r--r--community/py3-nose/coverage4-compat.patch (renamed from main/py3-nose/coverage4-compat.patch)0
-rw-r--r--community/py3-nose/fix-crashing-from-UnicodeDecodeError.patch (renamed from main/py3-nose/fix-crashing-from-UnicodeDecodeError.patch)0
-rw-r--r--community/py3-nose/fix-doctests-unicode.patch (renamed from main/py3-nose/fix-doctests-unicode.patch)0
-rw-r--r--community/py3-nose/python3.5-compat.patch (renamed from main/py3-nose/python3.5-compat.patch)0
-rw-r--r--community/py3-nose/python3.6-compat.patch (renamed from main/py3-nose/python3.6-compat.patch)0
-rw-r--r--community/py3-oauth2/APKBUILD (renamed from main/py3-oauth2/APKBUILD)3
-rw-r--r--community/py3-oauth2client/APKBUILD (renamed from main/py3-oauth2client/APKBUILD)5
-rw-r--r--community/py3-oauthlib/APKBUILD (renamed from main/py3-oauthlib/APKBUILD)3
-rw-r--r--community/py3-openssl/APKBUILD (renamed from main/py3-openssl/APKBUILD)0
-rw-r--r--community/py3-purl/APKBUILD (renamed from main/py3-purl/APKBUILD)2
-rw-r--r--community/py3-pycountry/APKBUILD (renamed from main/py3-pycountry/APKBUILD)0
-rw-r--r--community/py3-pylast/APKBUILD (renamed from main/py3-pylast/APKBUILD)0
-rw-r--r--community/py3-redis/APKBUILD (renamed from main/py3-redis/APKBUILD)2
-rw-r--r--community/py3-roman/APKBUILD (renamed from main/py3-roman/APKBUILD)0
-rw-r--r--community/py3-rsa/APKBUILD (renamed from main/py3-rsa/APKBUILD)2
-rw-r--r--community/py3-simpleparse/APKBUILD (renamed from main/py3-simpleparse/APKBUILD)2
-rw-r--r--community/py3-unidecode/APKBUILD (renamed from main/py3-unidecode/APKBUILD)3
-rw-r--r--community/py3-uritemplate/APKBUILD (renamed from main/py3-uritemplate/APKBUILD)0
-rw-r--r--community/py3-urlgrabber/APKBUILD (renamed from main/py3-urlgrabber/APKBUILD)0
-rw-r--r--community/py3-vobject/APKBUILD (renamed from main/py3-vobject/APKBUILD)3
-rw-r--r--community/py3-werkzeug/APKBUILD (renamed from main/py3-werkzeug/APKBUILD)0
-rw-r--r--community/py3-wtforms/APKBUILD (renamed from main/py3-wtforms/APKBUILD)2
-rw-r--r--community/py3-zope-interface/APKBUILD (renamed from main/py3-zope-interface/APKBUILD)0
49 files changed, 1 insertions, 52 deletions
diff --git a/main/py3-argparse/APKBUILD b/community/py3-argparse/APKBUILD
index 81e2aa1699..36810929a0 100644
--- a/main/py3-argparse/APKBUILD
+++ b/community/py3-argparse/APKBUILD
@@ -17,17 +17,14 @@ replaces="py-argparse" # Backwards compatibility
provides="py-argparse=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
check() {
- cd "$builddir"
python3 setup.py check
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/main/py3-asn1-modules/APKBUILD b/community/py3-asn1-modules/APKBUILD
index 215339dbda..a261b7d6d0 100644
--- a/main/py3-asn1-modules/APKBUILD
+++ b/community/py3-asn1-modules/APKBUILD
@@ -16,17 +16,14 @@ replaces="py-asn1-modules" # Backwards compatibility
provides="py-asn1-modules=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
check() {
- cd "$builddir"
python3 setup.py test
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/main/py3-click/APKBUILD b/community/py3-click/APKBUILD
index 137a51e0a6..137a51e0a6 100644
--- a/main/py3-click/APKBUILD
+++ b/community/py3-click/APKBUILD
diff --git a/main/py3-constantly/APKBUILD b/community/py3-constantly/APKBUILD
index 00e35e3023..00e35e3023 100644
--- a/main/py3-constantly/APKBUILD
+++ b/community/py3-constantly/APKBUILD
diff --git a/main/py3-curl/APKBUILD b/community/py3-curl/APKBUILD
index f11b638723..f11b638723 100644
--- a/main/py3-curl/APKBUILD
+++ b/community/py3-curl/APKBUILD
diff --git a/main/py3-dateutil/APKBUILD b/community/py3-dateutil/APKBUILD
index f439dfbb3d..c6c2865bbb 100644
--- a/main/py3-dateutil/APKBUILD
+++ b/community/py3-dateutil/APKBUILD
@@ -17,12 +17,10 @@ replaces="py-dateutil" # Backwards compatibility
provides="py-dateutil=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/main/py3-exifread/APKBUILD b/community/py3-exifread/APKBUILD
index bf13d8599b..2baba9b03d 100644
--- a/main/py3-exifread/APKBUILD
+++ b/community/py3-exifread/APKBUILD
@@ -23,12 +23,10 @@ prepare() {
}
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/main/py3-hiredis/APKBUILD b/community/py3-hiredis/APKBUILD
index 52de17544b..52de17544b 100644
--- a/main/py3-hiredis/APKBUILD
+++ b/community/py3-hiredis/APKBUILD
diff --git a/main/py3-hiredis/hiredis-0.14-compat.patch b/community/py3-hiredis/hiredis-0.14-compat.patch
index 86e0d3f585..86e0d3f585 100644
--- a/main/py3-hiredis/hiredis-0.14-compat.patch
+++ b/community/py3-hiredis/hiredis-0.14-compat.patch
diff --git a/main/py3-hiredis/system-hiredis.patch b/community/py3-hiredis/system-hiredis.patch
index e5aaa28bc4..e5aaa28bc4 100644
--- a/main/py3-hiredis/system-hiredis.patch
+++ b/community/py3-hiredis/system-hiredis.patch
diff --git a/main/py3-hoedown/APKBUILD b/community/py3-hoedown/APKBUILD
index 3769fb4753..58cf134095 100644
--- a/main/py3-hoedown/APKBUILD
+++ b/community/py3-hoedown/APKBUILD
@@ -16,12 +16,10 @@ source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname
builddir="$srcdir"/$_pkgname-$pkgver
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/main/py3-httplib2/APKBUILD b/community/py3-httplib2/APKBUILD
index 532085771f..532085771f 100644
--- a/main/py3-httplib2/APKBUILD
+++ b/community/py3-httplib2/APKBUILD
diff --git a/main/py3-icu/APKBUILD b/community/py3-icu/APKBUILD
index 4726a556f7..4726a556f7 100644
--- a/main/py3-icu/APKBUILD
+++ b/community/py3-icu/APKBUILD
diff --git a/main/py3-importlib-metadata/APKBUILD b/community/py3-importlib-metadata/APKBUILD
index 114c810174..114c810174 100644
--- a/main/py3-importlib-metadata/APKBUILD
+++ b/community/py3-importlib-metadata/APKBUILD
diff --git a/main/py3-incremental/APKBUILD b/community/py3-incremental/APKBUILD
index d0fe29426e..44d70e865a 100644
--- a/main/py3-incremental/APKBUILD
+++ b/community/py3-incremental/APKBUILD
@@ -15,12 +15,10 @@ replaces="py-incremental" # Backwards compatibility
provides="py-incremental=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/main/py3-ipaddress/APKBUILD b/community/py3-ipaddress/APKBUILD
index dd39f8ac26..f9d0a5977a 100644
--- a/main/py3-ipaddress/APKBUILD
+++ b/community/py3-ipaddress/APKBUILD
@@ -17,7 +17,6 @@ replaces="py-ipaddress" # Backwards compatibility
provides="py-ipaddress=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
diff --git a/main/py3-itsdangerous/APKBUILD b/community/py3-itsdangerous/APKBUILD
index ef04edb107..316e26fd22 100644
--- a/main/py3-itsdangerous/APKBUILD
+++ b/community/py3-itsdangerous/APKBUILD
@@ -17,12 +17,10 @@ replaces="py-itsdangerous" # Backwards compatibility
provides="py-itsdangerous=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/main/py3-jwt/APKBUILD b/community/py3-jwt/APKBUILD
index 5ff43079d0..98f1c74247 100644
--- a/main/py3-jwt/APKBUILD
+++ b/community/py3-jwt/APKBUILD
@@ -21,17 +21,14 @@ replaces="py-jwt" # Backwards compatibility
provides="py-jwt=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
check() {
- cd "$builddir"
python3 -m pytest .
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/main/py3-jwt/no-cov-report.patch b/community/py3-jwt/no-cov-report.patch
index 9efb3d2219..9efb3d2219 100644
--- a/main/py3-jwt/no-cov-report.patch
+++ b/community/py3-jwt/no-cov-report.patch
diff --git a/main/py3-libvirt/APKBUILD b/community/py3-libvirt/APKBUILD
index 570491cf14..0a3fbdb4e2 100644
--- a/main/py3-libvirt/APKBUILD
+++ b/community/py3-libvirt/APKBUILD
@@ -17,17 +17,14 @@ replaces="py-libvirt" # Backwards compatibility
provides="py-libvirt=$pkgver" # Backwards compatibility
check() {
- cd "$builddir"
python3 setup.py check
}
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/main/py3-libvirt/musl-gnuc-prereq.patch b/community/py3-libvirt/musl-gnuc-prereq.patch
index 2e3c95e3f4..2e3c95e3f4 100644
--- a/main/py3-libvirt/musl-gnuc-prereq.patch
+++ b/community/py3-libvirt/musl-gnuc-prereq.patch
diff --git a/main/py3-lockfile/APKBUILD b/community/py3-lockfile/APKBUILD
index c18384937a..c18384937a 100644
--- a/main/py3-lockfile/APKBUILD
+++ b/community/py3-lockfile/APKBUILD
diff --git a/main/py3-lxml/APKBUILD b/community/py3-lxml/APKBUILD
index e62e5e974b..e62e5e974b 100644
--- a/main/py3-lxml/APKBUILD
+++ b/community/py3-lxml/APKBUILD
diff --git a/main/py3-munkres/APKBUILD b/community/py3-munkres/APKBUILD
index fa77eb16b8..9b73594da6 100644
--- a/main/py3-munkres/APKBUILD
+++ b/community/py3-munkres/APKBUILD
@@ -17,17 +17,14 @@ replaces="py-munkres" # Backwards compatibility
provides="py-munkres=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
check() {
- cd "$builddir"
python3 setup.py test
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/main/py3-musicbrainzngs/APKBUILD b/community/py3-musicbrainzngs/APKBUILD
index ad038bc84d..ad038bc84d 100644
--- a/main/py3-musicbrainzngs/APKBUILD
+++ b/community/py3-musicbrainzngs/APKBUILD
diff --git a/main/py3-nose/APKBUILD b/community/py3-nose/APKBUILD
index 6ebb4574e4..6ebb4574e4 100644
--- a/main/py3-nose/APKBUILD
+++ b/community/py3-nose/APKBUILD
diff --git a/main/py3-nose/coverage4-compat.patch b/community/py3-nose/coverage4-compat.patch
index e77a080f24..e77a080f24 100644
--- a/main/py3-nose/coverage4-compat.patch
+++ b/community/py3-nose/coverage4-compat.patch
diff --git a/main/py3-nose/fix-crashing-from-UnicodeDecodeError.patch b/community/py3-nose/fix-crashing-from-UnicodeDecodeError.patch
index 9154ab0862..9154ab0862 100644
--- a/main/py3-nose/fix-crashing-from-UnicodeDecodeError.patch
+++ b/community/py3-nose/fix-crashing-from-UnicodeDecodeError.patch
diff --git a/main/py3-nose/fix-doctests-unicode.patch b/community/py3-nose/fix-doctests-unicode.patch
index a788ed9c43..a788ed9c43 100644
--- a/main/py3-nose/fix-doctests-unicode.patch
+++ b/community/py3-nose/fix-doctests-unicode.patch
diff --git a/main/py3-nose/python3.5-compat.patch b/community/py3-nose/python3.5-compat.patch
index 2eb58e085c..2eb58e085c 100644
--- a/main/py3-nose/python3.5-compat.patch
+++ b/community/py3-nose/python3.5-compat.patch
diff --git a/main/py3-nose/python3.6-compat.patch b/community/py3-nose/python3.6-compat.patch
index e6831bce80..e6831bce80 100644
--- a/main/py3-nose/python3.6-compat.patch
+++ b/community/py3-nose/python3.6-compat.patch
diff --git a/main/py3-oauth2/APKBUILD b/community/py3-oauth2/APKBUILD
index 06c4371491..bb3929a026 100644
--- a/main/py3-oauth2/APKBUILD
+++ b/community/py3-oauth2/APKBUILD
@@ -17,17 +17,14 @@ replaces="py-oauth2" # Bakcwards compatibility
provides="py-oauth2=$pkgver-r$pkgrel" # Bakcwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
check() {
- cd "$builddir"
python3 setup.py test
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
# Tests don't need to be installed
diff --git a/main/py3-oauth2client/APKBUILD b/community/py3-oauth2client/APKBUILD
index b66d860063..64a1824d32 100644
--- a/main/py3-oauth2client/APKBUILD
+++ b/community/py3-oauth2client/APKBUILD
@@ -7,7 +7,7 @@ pkgdesc="A client library for OAuth 2.0"
options="!check" # Requires 'sqlalchemy' , 'fasteners' and 'flask'
url="https://github.com/google/oauth2client"
arch="noarch"
-license="Apache"
+license="Apache-2.0"
depends="python3 py3-asn1 py3-httplib2 py3-asn1-modules py3-rsa py3-six"
makedepends="py3-setuptools"
checkdepends="py3-mock py3-openssl py3-django"
@@ -18,17 +18,14 @@ replaces="py-oauth2client" # Backwards compatibility
provides="py-oauth2client=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
check() {
- cd "$builddir"
python3 setup.py test
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/main/py3-oauthlib/APKBUILD b/community/py3-oauthlib/APKBUILD
index f6d668ffc9..f767d8b8f8 100644
--- a/main/py3-oauthlib/APKBUILD
+++ b/community/py3-oauthlib/APKBUILD
@@ -19,17 +19,14 @@ replaces="py-oauthlib" # Backwards compatibility
provides="py-oauthlib=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
check() {
- cd "$builddir"
python3 setup.py test
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/main/py3-openssl/APKBUILD b/community/py3-openssl/APKBUILD
index 6860582f45..6860582f45 100644
--- a/main/py3-openssl/APKBUILD
+++ b/community/py3-openssl/APKBUILD
diff --git a/main/py3-purl/APKBUILD b/community/py3-purl/APKBUILD
index 06595bb3b9..1c2f963606 100644
--- a/main/py3-purl/APKBUILD
+++ b/community/py3-purl/APKBUILD
@@ -20,12 +20,10 @@ replaces="py-purl" # Backwards compatibility
provides="py-purl=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/main/py3-pycountry/APKBUILD b/community/py3-pycountry/APKBUILD
index 17f3694d3f..17f3694d3f 100644
--- a/main/py3-pycountry/APKBUILD
+++ b/community/py3-pycountry/APKBUILD
diff --git a/main/py3-pylast/APKBUILD b/community/py3-pylast/APKBUILD
index 2ddb3bb776..2ddb3bb776 100644
--- a/main/py3-pylast/APKBUILD
+++ b/community/py3-pylast/APKBUILD
diff --git a/main/py3-redis/APKBUILD b/community/py3-redis/APKBUILD
index f32c5f3161..c797496d6f 100644
--- a/main/py3-redis/APKBUILD
+++ b/community/py3-redis/APKBUILD
@@ -17,12 +17,10 @@ replaces="py-redis" # Backwards compatibility
provides="py-redis=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
check() {
- cd "$builddir"
redis-server --dir "$builddir"&
local _redispid=$!
diff --git a/main/py3-roman/APKBUILD b/community/py3-roman/APKBUILD
index 4c854067fe..4c854067fe 100644
--- a/main/py3-roman/APKBUILD
+++ b/community/py3-roman/APKBUILD
diff --git a/main/py3-rsa/APKBUILD b/community/py3-rsa/APKBUILD
index 4ccb77b6f5..724270bed7 100644
--- a/main/py3-rsa/APKBUILD
+++ b/community/py3-rsa/APKBUILD
@@ -17,12 +17,10 @@ replaces="py-rsa" # Backwards compatibility
provides="py-rsa=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/main/py3-simpleparse/APKBUILD b/community/py3-simpleparse/APKBUILD
index c97b17bbe6..6d8654b1c4 100644
--- a/main/py3-simpleparse/APKBUILD
+++ b/community/py3-simpleparse/APKBUILD
@@ -14,12 +14,10 @@ source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname
builddir="$srcdir"/$_pkgname-$pkgver
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --skip-build --root="$pkgdir"
}
diff --git a/main/py3-unidecode/APKBUILD b/community/py3-unidecode/APKBUILD
index 1bb2266e65..30beed8c44 100644
--- a/main/py3-unidecode/APKBUILD
+++ b/community/py3-unidecode/APKBUILD
@@ -13,17 +13,14 @@ source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname
builddir="$srcdir/$_pkgname-$pkgver"
build() {
- cd "$builddir"
python3 setup.py build
}
check() {
- cd "$builddir"
python3 setup.py test
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
# Add version suffix to executable files.
diff --git a/main/py3-uritemplate/APKBUILD b/community/py3-uritemplate/APKBUILD
index 39bf0a632b..39bf0a632b 100644
--- a/main/py3-uritemplate/APKBUILD
+++ b/community/py3-uritemplate/APKBUILD
diff --git a/main/py3-urlgrabber/APKBUILD b/community/py3-urlgrabber/APKBUILD
index 6759d4d319..6759d4d319 100644
--- a/main/py3-urlgrabber/APKBUILD
+++ b/community/py3-urlgrabber/APKBUILD
diff --git a/main/py3-vobject/APKBUILD b/community/py3-vobject/APKBUILD
index 8544d7b216..f8a984f8b7 100644
--- a/main/py3-vobject/APKBUILD
+++ b/community/py3-vobject/APKBUILD
@@ -15,17 +15,14 @@ replaces="py-vobject" # Backwards compatibility
provides="py-vobject=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
check() {
- cd "$builddir"
python3 tests.py
}
diff --git a/main/py3-werkzeug/APKBUILD b/community/py3-werkzeug/APKBUILD
index 3ac83bc5e9..3ac83bc5e9 100644
--- a/main/py3-werkzeug/APKBUILD
+++ b/community/py3-werkzeug/APKBUILD
diff --git a/main/py3-wtforms/APKBUILD b/community/py3-wtforms/APKBUILD
index 245f5e3f7d..99bfda27d4 100644
--- a/main/py3-wtforms/APKBUILD
+++ b/community/py3-wtforms/APKBUILD
@@ -21,12 +21,10 @@ replaces="py-wtforms" # Backwards compatibility
provides="py-wtforms=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/main/py3-zope-interface/APKBUILD b/community/py3-zope-interface/APKBUILD
index 4669e02902..4669e02902 100644
--- a/main/py3-zope-interface/APKBUILD
+++ b/community/py3-zope-interface/APKBUILD