diff --git a/main/py3-argparse/APKBUILD b/community/py3-argparse/APKBUILD similarity index 95% rename from main/py3-argparse/APKBUILD rename to 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 similarity index 95% rename from main/py3-asn1-modules/APKBUILD rename to 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 similarity index 100% rename from main/py3-click/APKBUILD rename to community/py3-click/APKBUILD diff --git a/main/py3-constantly/APKBUILD b/community/py3-constantly/APKBUILD similarity index 100% rename from main/py3-constantly/APKBUILD rename to community/py3-constantly/APKBUILD diff --git a/main/py3-curl/APKBUILD b/community/py3-curl/APKBUILD similarity index 100% rename from main/py3-curl/APKBUILD rename to community/py3-curl/APKBUILD diff --git a/main/py3-dateutil/APKBUILD b/community/py3-dateutil/APKBUILD similarity index 96% rename from main/py3-dateutil/APKBUILD rename to 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 similarity index 96% rename from main/py3-exifread/APKBUILD rename to 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 similarity index 100% rename from main/py3-hiredis/APKBUILD rename to community/py3-hiredis/APKBUILD diff --git a/main/py3-hiredis/hiredis-0.14-compat.patch b/community/py3-hiredis/hiredis-0.14-compat.patch similarity index 100% rename from main/py3-hiredis/hiredis-0.14-compat.patch rename to community/py3-hiredis/hiredis-0.14-compat.patch diff --git a/main/py3-hiredis/system-hiredis.patch b/community/py3-hiredis/system-hiredis.patch similarity index 100% rename from main/py3-hiredis/system-hiredis.patch rename to community/py3-hiredis/system-hiredis.patch diff --git a/main/py3-hoedown/APKBUILD b/community/py3-hoedown/APKBUILD similarity index 96% rename from main/py3-hoedown/APKBUILD rename to 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 similarity index 100% rename from main/py3-httplib2/APKBUILD rename to community/py3-httplib2/APKBUILD diff --git a/main/py3-icu/APKBUILD b/community/py3-icu/APKBUILD similarity index 100% rename from main/py3-icu/APKBUILD rename to community/py3-icu/APKBUILD diff --git a/main/py3-importlib-metadata/APKBUILD b/community/py3-importlib-metadata/APKBUILD similarity index 100% rename from main/py3-importlib-metadata/APKBUILD rename to community/py3-importlib-metadata/APKBUILD diff --git a/main/py3-incremental/APKBUILD b/community/py3-incremental/APKBUILD similarity index 96% rename from main/py3-incremental/APKBUILD rename to 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 similarity index 98% rename from main/py3-ipaddress/APKBUILD rename to 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 similarity index 96% rename from main/py3-itsdangerous/APKBUILD rename to 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 similarity index 96% rename from main/py3-jwt/APKBUILD rename to 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 similarity index 100% rename from main/py3-jwt/no-cov-report.patch rename to community/py3-jwt/no-cov-report.patch diff --git a/main/py3-libvirt/APKBUILD b/community/py3-libvirt/APKBUILD similarity index 95% rename from main/py3-libvirt/APKBUILD rename to 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 similarity index 100% rename from main/py3-libvirt/musl-gnuc-prereq.patch rename to community/py3-libvirt/musl-gnuc-prereq.patch diff --git a/main/py3-lockfile/APKBUILD b/community/py3-lockfile/APKBUILD similarity index 100% rename from main/py3-lockfile/APKBUILD rename to community/py3-lockfile/APKBUILD diff --git a/main/py3-lxml/APKBUILD b/community/py3-lxml/APKBUILD similarity index 100% rename from main/py3-lxml/APKBUILD rename to community/py3-lxml/APKBUILD diff --git a/main/py3-munkres/APKBUILD b/community/py3-munkres/APKBUILD similarity index 95% rename from main/py3-munkres/APKBUILD rename to 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 similarity index 100% rename from main/py3-musicbrainzngs/APKBUILD rename to community/py3-musicbrainzngs/APKBUILD diff --git a/main/py3-nose/APKBUILD b/community/py3-nose/APKBUILD similarity index 100% rename from main/py3-nose/APKBUILD rename to community/py3-nose/APKBUILD diff --git a/main/py3-nose/coverage4-compat.patch b/community/py3-nose/coverage4-compat.patch similarity index 100% rename from main/py3-nose/coverage4-compat.patch rename to 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 similarity index 100% rename from main/py3-nose/fix-crashing-from-UnicodeDecodeError.patch rename to 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 similarity index 100% rename from main/py3-nose/fix-doctests-unicode.patch rename to 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 similarity index 100% rename from main/py3-nose/python3.5-compat.patch rename to 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 similarity index 100% rename from main/py3-nose/python3.6-compat.patch rename to community/py3-nose/python3.6-compat.patch diff --git a/main/py3-oauth2/APKBUILD b/community/py3-oauth2/APKBUILD similarity index 95% rename from main/py3-oauth2/APKBUILD rename to 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 similarity index 93% rename from main/py3-oauth2client/APKBUILD rename to 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 similarity index 95% rename from main/py3-oauthlib/APKBUILD rename to 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 similarity index 100% rename from main/py3-openssl/APKBUILD rename to community/py3-openssl/APKBUILD diff --git a/main/py3-purl/APKBUILD b/community/py3-purl/APKBUILD similarity index 96% rename from main/py3-purl/APKBUILD rename to 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 similarity index 100% rename from main/py3-pycountry/APKBUILD rename to community/py3-pycountry/APKBUILD diff --git a/main/py3-pylast/APKBUILD b/community/py3-pylast/APKBUILD similarity index 100% rename from main/py3-pylast/APKBUILD rename to community/py3-pylast/APKBUILD diff --git a/main/py3-redis/APKBUILD b/community/py3-redis/APKBUILD similarity index 96% rename from main/py3-redis/APKBUILD rename to 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 similarity index 100% rename from main/py3-roman/APKBUILD rename to community/py3-roman/APKBUILD diff --git a/main/py3-rsa/APKBUILD b/community/py3-rsa/APKBUILD similarity index 96% rename from main/py3-rsa/APKBUILD rename to 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 similarity index 95% rename from main/py3-simpleparse/APKBUILD rename to 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 similarity index 95% rename from main/py3-unidecode/APKBUILD rename to 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 similarity index 100% rename from main/py3-uritemplate/APKBUILD rename to community/py3-uritemplate/APKBUILD diff --git a/main/py3-urlgrabber/APKBUILD b/community/py3-urlgrabber/APKBUILD similarity index 100% rename from main/py3-urlgrabber/APKBUILD rename to community/py3-urlgrabber/APKBUILD diff --git a/main/py3-vobject/APKBUILD b/community/py3-vobject/APKBUILD similarity index 94% rename from main/py3-vobject/APKBUILD rename to 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 similarity index 100% rename from main/py3-werkzeug/APKBUILD rename to community/py3-werkzeug/APKBUILD diff --git a/main/py3-wtforms/APKBUILD b/community/py3-wtforms/APKBUILD similarity index 96% rename from main/py3-wtforms/APKBUILD rename to 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 similarity index 100% rename from main/py3-zope-interface/APKBUILD rename to community/py3-zope-interface/APKBUILD