diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-03-16 02:48:47 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-04-02 01:43:47 +0000 |
commit | aad2afe051973fa7fd6f4f9b83703c09445ff17c (patch) | |
tree | 4266144bb0c3984f784b0dd910d33fa98a72c353 | |
parent | aad758e364da9a69d0d519b619cc6eb2c7d150f8 (diff) |
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 81e2aa16990..36810929a0a 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 215339dbdaa..a261b7d6d00 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 137a51e0a61..137a51e0a61 100644 --- a/main/py3-click/APKBUILD +++ b/community/py3-click/APKBUILD diff --git a/main/py3-constantly/APKBUILD b/community/py3-constantly/APKBUILD index 00e35e30238..00e35e30238 100644 --- a/main/py3-constantly/APKBUILD +++ b/community/py3-constantly/APKBUILD diff --git a/main/py3-curl/APKBUILD b/community/py3-curl/APKBUILD index f11b6387236..f11b6387236 100644 --- a/main/py3-curl/APKBUILD +++ b/community/py3-curl/APKBUILD diff --git a/main/py3-dateutil/APKBUILD b/community/py3-dateutil/APKBUILD index f439dfbb3d6..c6c2865bbb6 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 bf13d8599ba..2baba9b03dc 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 52de17544b9..52de17544b9 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 86e0d3f585a..86e0d3f585a 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 e5aaa28bc4f..e5aaa28bc4f 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 3769fb47535..58cf134095a 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 532085771f5..532085771f5 100644 --- a/main/py3-httplib2/APKBUILD +++ b/community/py3-httplib2/APKBUILD diff --git a/main/py3-icu/APKBUILD b/community/py3-icu/APKBUILD index 4726a556f72..4726a556f72 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 114c810174f..114c810174f 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 d0fe29426eb..44d70e865a4 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 dd39f8ac263..f9d0a5977ae 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 ef04edb1077..316e26fd225 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 5ff43079d0e..98f1c742475 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 9efb3d22198..9efb3d22198 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 570491cf14c..0a3fbdb4e25 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 2e3c95e3f4a..2e3c95e3f4a 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 c18384937a0..c18384937a0 100644 --- a/main/py3-lockfile/APKBUILD +++ b/community/py3-lockfile/APKBUILD diff --git a/main/py3-lxml/APKBUILD b/community/py3-lxml/APKBUILD index e62e5e974be..e62e5e974be 100644 --- a/main/py3-lxml/APKBUILD +++ b/community/py3-lxml/APKBUILD diff --git a/main/py3-munkres/APKBUILD b/community/py3-munkres/APKBUILD index fa77eb16b89..9b73594da66 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 ad038bc84de..ad038bc84de 100644 --- a/main/py3-musicbrainzngs/APKBUILD +++ b/community/py3-musicbrainzngs/APKBUILD diff --git a/main/py3-nose/APKBUILD b/community/py3-nose/APKBUILD index 6ebb4574e46..6ebb4574e46 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 e77a080f24b..e77a080f24b 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 9154ab08626..9154ab08626 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 a788ed9c438..a788ed9c438 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 2eb58e085cc..2eb58e085cc 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 e6831bce80f..e6831bce80f 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 06c43714919..bb3929a0264 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 b66d860063a..64a1824d324 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 f6d668ffc9d..f767d8b8f8d 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 6860582f45a..6860582f45a 100644 --- a/main/py3-openssl/APKBUILD +++ b/community/py3-openssl/APKBUILD diff --git a/main/py3-purl/APKBUILD b/community/py3-purl/APKBUILD index 06595bb3b99..1c2f963606b 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 17f3694d3f1..17f3694d3f1 100644 --- a/main/py3-pycountry/APKBUILD +++ b/community/py3-pycountry/APKBUILD diff --git a/main/py3-pylast/APKBUILD b/community/py3-pylast/APKBUILD index 2ddb3bb7762..2ddb3bb7762 100644 --- a/main/py3-pylast/APKBUILD +++ b/community/py3-pylast/APKBUILD diff --git a/main/py3-redis/APKBUILD b/community/py3-redis/APKBUILD index f32c5f31613..c797496d6f3 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 4c854067fe5..4c854067fe5 100644 --- a/main/py3-roman/APKBUILD +++ b/community/py3-roman/APKBUILD diff --git a/main/py3-rsa/APKBUILD b/community/py3-rsa/APKBUILD index 4ccb77b6f53..724270bed78 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 c97b17bbe69..6d8654b1c47 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 1bb2266e65b..30beed8c44a 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 39bf0a632bc..39bf0a632bc 100644 --- a/main/py3-uritemplate/APKBUILD +++ b/community/py3-uritemplate/APKBUILD diff --git a/main/py3-urlgrabber/APKBUILD b/community/py3-urlgrabber/APKBUILD index 6759d4d3196..6759d4d3196 100644 --- a/main/py3-urlgrabber/APKBUILD +++ b/community/py3-urlgrabber/APKBUILD diff --git a/main/py3-vobject/APKBUILD b/community/py3-vobject/APKBUILD index 8544d7b2163..f8a984f8b74 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 3ac83bc5e9f..3ac83bc5e9f 100644 --- a/main/py3-werkzeug/APKBUILD +++ b/community/py3-werkzeug/APKBUILD diff --git a/main/py3-wtforms/APKBUILD b/community/py3-wtforms/APKBUILD index 245f5e3f7d8..99bfda27d4c 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 4669e02902b..4669e02902b 100644 --- a/main/py3-zope-interface/APKBUILD +++ b/community/py3-zope-interface/APKBUILD |