diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
commit | 623ee73d661e5ed8475cb264511f683407d87365 (patch) | |
tree | 993eb27c93ec7a2d2d19550300d888fc1fed9e69 /dev-python/django | |
parent | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff) |
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'dev-python/django')
-rw-r--r-- | dev-python/django/Manifest | 17 | ||||
-rw-r--r-- | dev-python/django/django-1.11.20.ebuild | 113 | ||||
-rw-r--r-- | dev-python/django/django-1.11.21.ebuild | 113 | ||||
-rw-r--r-- | dev-python/django/django-2.1.8.ebuild | 88 | ||||
-rw-r--r-- | dev-python/django/django-2.1.9.ebuild | 88 | ||||
-rw-r--r-- | dev-python/django/django-2.2.11.ebuild (renamed from dev-python/django/django-2.2.1.ebuild) | 32 | ||||
-rw-r--r-- | dev-python/django/django-2.2.12.ebuild (renamed from dev-python/django/django-2.2.2.ebuild) | 30 | ||||
-rw-r--r-- | dev-python/django/files/django-1.9-bashcomp.patch | 46 |
8 files changed, 21 insertions, 506 deletions
diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest index 2039b0a52825..0258bb986085 100644 --- a/dev-python/django/Manifest +++ b/dev-python/django/Manifest @@ -1,15 +1,6 @@ -AUX django-1.9-bashcomp.patch 1734 BLAKE2B d65bc505e4096fd8d23619f3d76b76d66fc3e68f408906c30a1a8e97a5ef5c0c9c1b352f8c4f4acd1588c639f7b0a489a53e1dbc9763b395ce2488c463e6d5b4 SHA512 d3caa9b77d6c336e131b706411080aa129df83ac60293a2612eb268d08a6c40096b322715766801e16a641134762174ecefcf2b93698f47b022fc31421597403 AUX django-2.0.7-bashcomp.patch 1507 BLAKE2B 8aeb494087dbccffc69ad43f370e791d9fbfb1908d45f55d5f8be01ec0f3af6b2aff591da84a06c0858fecd44180579a4647d622ef57d8235ccb4b3b80fd3a2a SHA512 5a3867b8e4f2fafe4c53a741d41e8c6e8e28a55463f7d8007afd669a04daa8b93f911e4ef8d5ad38ba300558f21ac8090b00337d0c0bfb93b2aea73a179334a4 -DIST Django-1.11.20.tar.gz 7846576 BLAKE2B 11423edda7f2f08cc894957da65c746c99ce7ce5399ff236972cce627e347cbc4a43c7ff75282318fac2ac8f65fc4db691ac9fe8e04059b0de4f1bfe31278382 SHA512 5a0fff6c9b90a08e98dee6d4d090047adb900a8f6a061f98e685e8998bfe3d97fe7a90aa7d4d2feae67026fb6e4441393d50cb5ab295604ed362a080b987f062 -DIST Django-1.11.21.tar.gz 7847136 BLAKE2B 940734dc980901cb13fd90ef38815556d41e94a9fb1ac3a0e36e786b4a8df549ec2bce8a114ffbff1133a066ee8423c7beaccc7c774985df0aa1def1ebab58c1 SHA512 c91a1189b6b8fbbb1470f870b09c1c553e860d3b8c0977240399524a830d5403929f14b4e4b689354080748aab1c70587ad56e265f4ac0b3bdc2714d01adbbc4 -DIST Django-2.1.8.tar.gz 8613572 BLAKE2B 543e41f1b4031b624f903f075e95af7e010510f4c265aebd35a5f6b3f074703b3a4b54bc7f2a9752e717ac99d20c42d6e34e556ca619a531cf8c66622ce1419a SHA512 f84fcdf919091a9db6289f25da601ce447382f79118a99f8f316b2479a9325d629f725edb4618300f76e23bd68ae45ff4c6b6576988f109d1a7ba715c73327c3 -DIST Django-2.1.9.tar.gz 8608747 BLAKE2B d5ef1aacc30067dfe5369655eb23ea67788f22edcf8ba070944c0fb4fdf2fc3628a364d480a3d47bae0339255fb66a3bc27f11eb5f07280812ab5f57b4367c64 SHA512 1f6ad122012d898da52ce44465700d2492ef9002d5c327b25e3edfe2116b8a1143feab79751a581029664311452d52d96fe116d8817edb0ef7d7dbddfc0a5ec7 -DIST Django-2.2.1.tar.gz 8973889 BLAKE2B 890ab092807a587dbaba69fb6da7a4c53c8e976d3a4c29003549d72dd69c374640df280885a62845dda0d00f432e398747b9ed652aebbd7e3434c07e71d9a80f SHA512 661ed7352847d2167f8d3410b476cb585a269ef5d3afe0cb59cf0c9a2ea22f0572f12825368bc222f33f8c6d4c71767adade97e25b69f5a619795ccb670773e2 -DIST Django-2.2.2.tar.gz 8841523 BLAKE2B fc498c19caed7fc8766b015df3049ce325886ebcebf02a1f6618c13ea9d12dea56ad65b860f3b0dee0b6532d97e754bb8cca2c3f0a375c630c28d52a2fd62a2e SHA512 87e0a7b2d0e6d6149c746a7cd5547351ba002c6eaedac160e72544b429d41b133da5c36256a07155b7b4743969e9ff4c3ac890c9925db428117f68a67104df0f -EBUILD django-1.11.20.ebuild 3220 BLAKE2B 245ec265ff89402e4c6a04d2ffbf7c0937dc258ac1520a5dfee34ba89a982d3f2e3f0297eaabc2ca24a60947c1e2efaed838306f8e835087d2b79a6f08fa379c SHA512 8edfb775b25a9769f7d43f4b537ab869fd299be17b3363eeb8e563e5eaf7c24cba704f433e61e1d3e3626931108372872f290f481fc15e338166611d6531decc -EBUILD django-1.11.21.ebuild 3222 BLAKE2B 3e60f81758b5dba54815bdfa8cb9aa2ef87b18d91fdf632aa0ba79b2418a9510b1ae67fa9264b00e24165ca16c8fa592afa723757af2876ad7a471b1929359f0 SHA512 d2dba15a7b1e1af72ecae4753d6f4ba53684476040c9e7eb1284720b20a15911673c4cf59574d39b31df2eddf61bc5be286e609643f5f03e44516b1adab5501e -EBUILD django-2.1.8.ebuild 2483 BLAKE2B 4db85abc48a0833a8466d44c7944100c07235da3c697e904aaae06eb41411afbcf7a5332b269e2b6c68d536c168601eff9786a87b4fcd29d31295aeb707bcbef SHA512 91301986936e157fc7d3bc52607c87537e672da74e575127d49af4b85de2630f0f1dc953b896ccd24ad40515fc29c6efddf4442ff92c9724e5b28c6ce716d0e0 -EBUILD django-2.1.9.ebuild 2485 BLAKE2B 47ce5d579f39b36b1dc93d123589cbec960f07d44e5e1b4d8544bd2206e5c6cbbb6bcc6f61aac1eb317495d4dded37d6c8966f3e1a1acb8ddbf8b788d8da36ac SHA512 53d5bb31fd48062be797223cd0d99912fa6e72732cc603a1ad9c91d1f627729b537f65f2ca85b11c9747ed517e0389c5216dddd1a2977f94e4c2658474600e28 -EBUILD django-2.2.1.ebuild 2574 BLAKE2B b55c8e7ccb6df365f593d4b376e7aead798f39ad6649c2a0ede356ad4d77184b11db3e77fdb41353cb4d7bcc7e99e2e13ec1692cf842545d9167f67f54dc606d SHA512 e1cf1c46a9b14395dd375f1e2fbd8e7870447d97939fcd7fd0d340655bd386e6fdae95899129d7bf3bce1ce8ac3324e186f16f6998801aeef15e3d54face9ea0 -EBUILD django-2.2.2.ebuild 2576 BLAKE2B 3778a76e5d14d31e0f71bcb3598e8f49924629dcf18b93e376937681bb49183933d542e16ff636a355943bcb248e5a6362b3ed5bfdcadc2ca765d4baf78d4939 SHA512 199d91750f6e97e6fd52ebc219345ff7cfa67f314d746147cf0e766f1792ba6b496f8728e7472554638f08d1f23cd87b157ce04fca69446247d300bbaf19be74 +DIST Django-2.2.11.tar.gz 9010479 BLAKE2B 9df126f62368c43a64fcdbf9d3831c78dd37e41eb88670517eeec84043083cc437d95301d86798b5945313b515d63bd12cba8484e74b6da2311af2e86ce87adc SHA512 b33ece4606e5a23626caee121018522166a0e1f32bd41ea4eb3d4c1f624943990a07e04c5a4f5d52958e733790178474e9314d346ce1e4d5d6e49ac2a700c857 +DIST Django-2.2.12.tar.gz 8877061 BLAKE2B 7d92e7f871606aaacc82528f3d7c26d134a7b1216ae983a8da93cde20eac65729eaea1de8d3a7a598df8f9f228c3d20a5da9cb53a149d1064c58824626fd8aaf SHA512 3c01b606e34dd0abe5a03bc55bf7d9328a0da370c22bac4d15c3468512b26ad57fd07d942a2a34129ce18bcc5e86c67e163d0f4d5b7ea47e3e899ba7617ab28c +EBUILD django-2.2.11.ebuild 2305 BLAKE2B 2132f58f87cd91b9983d3628f797c671d2e81985656ae2e5b6f86350f0b00b810dc45a3b202db728e45e1f790dc5534a971d1c000f0f539e7e9d7fe05af172b5 SHA512 cbf485d87b020c063decbe751ed44e1ae6942509aa0423129214a1945ba62dada7a0c98496d99990c6f580f32f1a8dae10f40d5f9cd616c70e8557722efda87f +EBUILD django-2.2.12.ebuild 2306 BLAKE2B b5feda5cdd15d122ed491ec8c05cfddeefe34b067767db49680981764769a8a7111bffd2335a468d96defc54ecb23f2fbdf5659ff312159ff286cee356850216 SHA512 239ea1b07b7569517ef7f1596a8c4c2fbc29a6f68b0d742d18fadddc0367f487c098970d6281f65204d3f455df4a302ec162032f560502fc77eb205cbbf6c06d MISC metadata.xml 374 BLAKE2B 79d646d66b955dfbc419783bcfe7677f92472872292dbe726e55bf873d066be9365664e14ff1d190578b0294fe14dcee1c43e648bf2508cb2ceff4000b6002b8 SHA512 9aa0b388987c115e18e0aaa8747605e67fc8c8b5125d2a634dfae2ba8c6627963029fe913401a0647026adaa4d0037d91075a46d20f924f4d4f8d45bff195cff diff --git a/dev-python/django/django-1.11.20.ebuild b/dev-python/django/django-1.11.20.ebuild deleted file mode 100644 index 63eb7b863c6b..000000000000 --- a/dev-python/django/django-1.11.20.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{6,7} ) -PYTHON_REQ_USE='sqlite?,threads(+)' -WEBAPP_NO_AUTO_INSTALL="yes" - -inherit bash-completion-r1 distutils-r1 eutils eapi7-ver webapp - -MY_PN="Django" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="High-level Python web framework" -HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" -SRC_URI=" - https://www.djangoproject.com/m/releases/$(ver_cut 1-2)/${MY_P}.tar.gz - mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz - " - -LICENSE="BSD" -# admin fonts: Roboto (media-fonts/roboto) -LICENSE+=" Apache-2.0" -# admin icons, jquery, xregexp.js -LICENSE+=" MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="doc sqlite test" -RESTRICT="!test? ( test )" - -RDEPEND="" -DEPEND="${RDEPEND} - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] ) - test? ( - $(python_gen_impl_dep sqlite) - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/numpy[$(python_gen_usedep 'python*')] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - virtual/python-enum34[${PYTHON_USEDEP}] - )" - -S="${WORKDIR}/${MY_P}" - -WEBAPP_MANUAL_SLOT="yes" - -PATCHES=( - "${FILESDIR}"/${PN}-1.9-bashcomp.patch -) - -pkg_setup() { - webapp_pkg_setup -} - -python_prepare_all() { - # Prevent d'loading in the doc build - sed -e '/^ "sphinx.ext.intersphinx",/d' -i docs/conf.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && emake -C docs html -} - -python_test() { - # Tests have non-standard assumptions about PYTHONPATH, - # and don't work with ${BUILD_DIR}/lib. - PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v2 --parallel 1 \ - || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - newbashcomp extras/django_bash_completion ${PN}-admin - bashcomp_alias ${PN}-admin django-admin.py - - if use doc; then - rm -fr docs/_build/html/_sources || die - local HTML_DOCS=( docs/_build/html/. ) - fi - - insinto "${MY_HTDOCSDIR#${EPREFIX}}" - doins -r django/contrib/admin/static/admin/. - distutils-r1_python_install_all -} - -src_install() { - distutils-r1_src_install - webapp_src_install -} - -pkg_postinst() { - elog "Additional Backend support can be enabled via" - optfeature "MySQL backend support in python 2.7 only" dev-python/mysql-python - optfeature "MySQL backend support in python 2.7 - 3.4" dev-python/mysqlclient - optfeature "PostgreSQL backend support" dev-python/psycopg:2 - echo "" - elog "Other features can be enhanced by" - optfeature "GEO Django" sci-libs/gdal[geos] - optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached - optfeature "ImageField Support" dev-python/pillow - optfeature "Password encryption" dev-python/bcrypt - optfeature "High-level abstractions for Django forms" dev-python/django-formtools - echo "" - elog "A copy of the admin media is available to webapp-config for installation in a" - elog "webroot, as well as the traditional location in python's site-packages dir" - elog "for easy development." - webapp_pkg_postinst -} diff --git a/dev-python/django/django-1.11.21.ebuild b/dev-python/django/django-1.11.21.ebuild deleted file mode 100644 index a09c08fe93a4..000000000000 --- a/dev-python/django/django-1.11.21.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{6,7} ) -PYTHON_REQ_USE='sqlite?,threads(+)' -WEBAPP_NO_AUTO_INSTALL="yes" - -inherit bash-completion-r1 distutils-r1 eutils eapi7-ver webapp - -MY_PN="Django" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="High-level Python web framework" -HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" -SRC_URI=" - https://www.djangoproject.com/m/releases/$(ver_cut 1-2)/${MY_P}.tar.gz - mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz - " - -LICENSE="BSD" -# admin fonts: Roboto (media-fonts/roboto) -LICENSE+=" Apache-2.0" -# admin icons, jquery, xregexp.js -LICENSE+=" MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="doc sqlite test" -RESTRICT="!test? ( test )" - -RDEPEND="" -DEPEND="${RDEPEND} - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] ) - test? ( - $(python_gen_impl_dep sqlite) - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/numpy[$(python_gen_usedep 'python*')] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - virtual/python-enum34[${PYTHON_USEDEP}] - )" - -S="${WORKDIR}/${MY_P}" - -WEBAPP_MANUAL_SLOT="yes" - -PATCHES=( - "${FILESDIR}"/${PN}-1.9-bashcomp.patch -) - -pkg_setup() { - webapp_pkg_setup -} - -python_prepare_all() { - # Prevent d'loading in the doc build - sed -e '/^ "sphinx.ext.intersphinx",/d' -i docs/conf.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && emake -C docs html -} - -python_test() { - # Tests have non-standard assumptions about PYTHONPATH, - # and don't work with ${BUILD_DIR}/lib. - PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v2 --parallel 1 \ - || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - newbashcomp extras/django_bash_completion ${PN}-admin - bashcomp_alias ${PN}-admin django-admin.py - - if use doc; then - rm -fr docs/_build/html/_sources || die - local HTML_DOCS=( docs/_build/html/. ) - fi - - insinto "${MY_HTDOCSDIR#${EPREFIX}}" - doins -r django/contrib/admin/static/admin/. - distutils-r1_python_install_all -} - -src_install() { - distutils-r1_src_install - webapp_src_install -} - -pkg_postinst() { - elog "Additional Backend support can be enabled via" - optfeature "MySQL backend support in python 2.7 only" dev-python/mysql-python - optfeature "MySQL backend support in python 2.7 - 3.4" dev-python/mysqlclient - optfeature "PostgreSQL backend support" dev-python/psycopg:2 - echo "" - elog "Other features can be enhanced by" - optfeature "GEO Django" sci-libs/gdal[geos] - optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached - optfeature "ImageField Support" dev-python/pillow - optfeature "Password encryption" dev-python/bcrypt - optfeature "High-level abstractions for Django forms" dev-python/django-formtools - echo "" - elog "A copy of the admin media is available to webapp-config for installation in a" - elog "webroot, as well as the traditional location in python's site-packages dir" - elog "for easy development." - webapp_pkg_postinst -} diff --git a/dev-python/django/django-2.1.8.ebuild b/dev-python/django/django-2.1.8.ebuild deleted file mode 100644 index ad94ca7e5681..000000000000 --- a/dev-python/django/django-2.1.8.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7} ) -PYTHON_REQ_USE='sqlite?,threads(+)' - -inherit bash-completion-r1 distutils-r1 eutils - -MY_PN="Django" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="High-level Python web framework" -HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" -SRC_URI="https://www.djangoproject.com/m/releases/$(ver_cut 1-2)/${MY_P}.tar.gz" - -LICENSE="BSD" -# admin fonts: Roboto (media-fonts/roboto) -LICENSE+=" Apache-2.0" -# admin icons, jquery, xregexp.js -LICENSE+=" MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="doc sqlite test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( - $(python_gen_impl_dep sqlite) - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - )" - -S="${WORKDIR}/${MY_P}" - -PATCHES=( - "${FILESDIR}"/${PN}-2.0.7-bashcomp.patch -) - -python_prepare_all() { - # Prevent d'loading in the doc build - sed -e '/^ "sphinx.ext.intersphinx",/d' -i docs/conf.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && emake -C docs html -} - -python_test() { - # Tests have non-standard assumptions about PYTHONPATH, - # and don't work with ${BUILD_DIR}/lib. - PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v2 \ - || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - newbashcomp extras/django_bash_completion ${PN}-admin - bashcomp_alias ${PN}-admin django-admin.py - - if use doc; then - rm -fr docs/_build/html/_sources || die - local HTML_DOCS=( docs/_build/html/. ) - fi - - distutils-r1_python_install_all -} - -pkg_postinst() { - elog "Additional Backend support can be enabled via" - optfeature "MySQL backend support" dev-python/mysqlclient - optfeature "PostgreSQL backend support" dev-python/psycopg:2 - echo "" - elog "Other features can be enhanced by" - optfeature "GEO Django" sci-libs/gdal[geos] - optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached - optfeature "ImageField Support" dev-python/pillow - optfeature "Password encryption" dev-python/bcrypt - optfeature "High-level abstractions for Django forms" dev-python/django-formtools -} diff --git a/dev-python/django/django-2.1.9.ebuild b/dev-python/django/django-2.1.9.ebuild deleted file mode 100644 index 17df98e2f238..000000000000 --- a/dev-python/django/django-2.1.9.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7} ) -PYTHON_REQ_USE='sqlite?,threads(+)' - -inherit bash-completion-r1 distutils-r1 eutils - -MY_PN="Django" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="High-level Python web framework" -HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" -SRC_URI="https://www.djangoproject.com/m/releases/$(ver_cut 1-2)/${MY_P}.tar.gz" - -LICENSE="BSD" -# admin fonts: Roboto (media-fonts/roboto) -LICENSE+=" Apache-2.0" -# admin icons, jquery, xregexp.js -LICENSE+=" MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="doc sqlite test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( - $(python_gen_impl_dep sqlite) - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - )" - -S="${WORKDIR}/${MY_P}" - -PATCHES=( - "${FILESDIR}"/${PN}-2.0.7-bashcomp.patch -) - -python_prepare_all() { - # Prevent d'loading in the doc build - sed -e '/^ "sphinx.ext.intersphinx",/d' -i docs/conf.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && emake -C docs html -} - -python_test() { - # Tests have non-standard assumptions about PYTHONPATH, - # and don't work with ${BUILD_DIR}/lib. - PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v2 \ - || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - newbashcomp extras/django_bash_completion ${PN}-admin - bashcomp_alias ${PN}-admin django-admin.py - - if use doc; then - rm -fr docs/_build/html/_sources || die - local HTML_DOCS=( docs/_build/html/. ) - fi - - distutils-r1_python_install_all -} - -pkg_postinst() { - elog "Additional Backend support can be enabled via" - optfeature "MySQL backend support" dev-python/mysqlclient - optfeature "PostgreSQL backend support" dev-python/psycopg:2 - echo "" - elog "Other features can be enhanced by" - optfeature "GEO Django" sci-libs/gdal[geos] - optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached - optfeature "ImageField Support" dev-python/pillow - optfeature "Password encryption" dev-python/bcrypt - optfeature "High-level abstractions for Django forms" dev-python/django-formtools -} diff --git a/dev-python/django/django-2.2.1.ebuild b/dev-python/django/django-2.2.11.ebuild index a6202a73ae12..4adab40ebb72 100644 --- a/dev-python/django/django-2.2.1.ebuild +++ b/dev-python/django/django-2.2.11.ebuild @@ -3,7 +3,8 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8} ) PYTHON_REQ_USE='sqlite?,threads(+)' inherit bash-completion-r1 distutils-r1 eutils @@ -14,6 +15,7 @@ MY_P="${MY_PN}-${PV}" DESCRIPTION="High-level Python web framework" HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" SRC_URI="https://www.djangoproject.com/m/releases/$(ver_cut 1-2)/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="BSD" # admin fonts: Roboto (media-fonts/roboto) @@ -21,13 +23,13 @@ LICENSE+=" Apache-2.0" # admin icons, jquery, xregexp.js LICENSE+=" MIT" SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="doc sqlite test" RESTRICT="!test? ( test )" RDEPEND=" dev-python/pytz[${PYTHON_USEDEP}] - dev-python/python-sqlparse[${PYTHON_USEDEP}]" + dev-python/sqlparse[${PYTHON_USEDEP}]" BDEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) @@ -41,39 +43,23 @@ BDEPEND=" dev-python/tblib[${PYTHON_USEDEP}] )" -S="${WORKDIR}/${MY_P}" - PATCHES=( "${FILESDIR}"/${PN}-2.0.7-bashcomp.patch ) -python_prepare_all() { - # Prevent d'loading in the doc build - sed -e '/^ "sphinx.ext.intersphinx",/d' -i docs/conf.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && emake -C docs html -} +distutils_enable_sphinx docs python_test() { # Tests have non-standard assumptions about PYTHONPATH, # and don't work with ${BUILD_DIR}/lib. - PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v2 \ - || die "Tests fail with ${EPYTHON}" + PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || + die "Tests fail with ${EPYTHON}" } python_install_all() { newbashcomp extras/django_bash_completion ${PN}-admin bashcomp_alias ${PN}-admin django-admin.py - if use doc; then - rm -fr docs/_build/html/_sources || die - local HTML_DOCS=( docs/_build/html/. ) - fi - distutils-r1_python_install_all } @@ -83,7 +69,7 @@ pkg_postinst() { optfeature "PostgreSQL backend support" dev-python/psycopg:2 echo "" elog "Other features can be enhanced by" - optfeature "GEO Django" sci-libs/gdal[geos] + optfeature "GEO Django" "sci-libs/gdal[geos]" optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached optfeature "ImageField Support" dev-python/pillow optfeature "Password encryption" dev-python/bcrypt diff --git a/dev-python/django/django-2.2.2.ebuild b/dev-python/django/django-2.2.12.ebuild index 754fb915ddd5..7a3345a89f49 100644 --- a/dev-python/django/django-2.2.2.ebuild +++ b/dev-python/django/django-2.2.12.ebuild @@ -3,7 +3,8 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8} ) PYTHON_REQ_USE='sqlite?,threads(+)' inherit bash-completion-r1 distutils-r1 eutils @@ -14,6 +15,7 @@ MY_P="${MY_PN}-${PV}" DESCRIPTION="High-level Python web framework" HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/" SRC_URI="https://www.djangoproject.com/m/releases/$(ver_cut 1-2)/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="BSD" # admin fonts: Roboto (media-fonts/roboto) @@ -27,7 +29,7 @@ RESTRICT="!test? ( test )" RDEPEND=" dev-python/pytz[${PYTHON_USEDEP}] - dev-python/python-sqlparse[${PYTHON_USEDEP}]" + dev-python/sqlparse[${PYTHON_USEDEP}]" BDEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) @@ -41,39 +43,23 @@ BDEPEND=" dev-python/tblib[${PYTHON_USEDEP}] )" -S="${WORKDIR}/${MY_P}" - PATCHES=( "${FILESDIR}"/${PN}-2.0.7-bashcomp.patch ) -python_prepare_all() { - # Prevent d'loading in the doc build - sed -e '/^ "sphinx.ext.intersphinx",/d' -i docs/conf.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && emake -C docs html -} +distutils_enable_sphinx docs python_test() { # Tests have non-standard assumptions about PYTHONPATH, # and don't work with ${BUILD_DIR}/lib. - PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v2 \ - || die "Tests fail with ${EPYTHON}" + PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 || + die "Tests fail with ${EPYTHON}" } python_install_all() { newbashcomp extras/django_bash_completion ${PN}-admin bashcomp_alias ${PN}-admin django-admin.py - if use doc; then - rm -fr docs/_build/html/_sources || die - local HTML_DOCS=( docs/_build/html/. ) - fi - distutils-r1_python_install_all } @@ -83,7 +69,7 @@ pkg_postinst() { optfeature "PostgreSQL backend support" dev-python/psycopg:2 echo "" elog "Other features can be enhanced by" - optfeature "GEO Django" sci-libs/gdal[geos] + optfeature "GEO Django" "sci-libs/gdal[geos]" optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached optfeature "ImageField Support" dev-python/pillow optfeature "Password encryption" dev-python/bcrypt diff --git a/dev-python/django/files/django-1.9-bashcomp.patch b/dev-python/django/files/django-1.9-bashcomp.patch deleted file mode 100644 index 8618dbef920d..000000000000 --- a/dev-python/django/files/django-1.9-bashcomp.patch +++ /dev/null @@ -1,46 +0,0 @@ - extras/django_bash_completion | 35 +---------------------------------- - 1 file changed, 1 insertion(+), 34 deletions(-) - -diff --git a/extras/django_bash_completion b/extras/django_bash_completion -index 06a2321..abe76e5 100755 ---- a/extras/django_bash_completion -+++ b/extras/django_bash_completion -@@ -37,37 +37,4 @@ _django_completion() - COMP_CWORD=$COMP_CWORD \ - DJANGO_AUTO_COMPLETE=1 $1 ) ) - } --complete -F _django_completion -o default django-admin.py manage.py django-admin -- --_python_django_completion() --{ -- if [[ ${COMP_CWORD} -ge 2 ]]; then -- local PYTHON_EXE=${COMP_WORDS[0]##*/} -- echo $PYTHON_EXE | egrep "python([2-9]\.[0-9])?" >/dev/null 2>&1 -- if [[ $? == 0 ]]; then -- local PYTHON_SCRIPT=${COMP_WORDS[1]##*/} -- echo $PYTHON_SCRIPT | egrep "manage\.py|django-admin(\.py)?" >/dev/null 2>&1 -- if [[ $? == 0 ]]; then -- COMPREPLY=( $( COMP_WORDS="${COMP_WORDS[*]:1}" \ -- COMP_CWORD=$(( COMP_CWORD-1 )) \ -- DJANGO_AUTO_COMPLETE=1 ${COMP_WORDS[*]} ) ) -- fi -- fi -- fi --} -- --# Support for multiple interpreters. --unset pythons --if command -v whereis &>/dev/null; then -- python_interpreters=$(whereis python | cut -d " " -f 2-) -- for python in $python_interpreters; do -- [[ $python != *-config ]] && pythons="${pythons} ${python##*/}" -- done -- unset python_interpreters -- pythons=$(echo $pythons | tr " " "\n" | sort -u | tr "\n" " ") --else -- pythons=python --fi -- --complete -F _python_django_completion -o default $pythons --unset pythons -+complete -F _django_completion -o default django-admin.py django-admin |