diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-08 12:29:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-08 12:29:28 +0100 |
commit | 8e49340ce0aaf205556648d8fa27dd30e8cf4435 (patch) | |
tree | 38cc25a0f12067b6b184788983173496ae9936e6 /dev-python/django | |
parent | 6c1090c8458fa6e15fd24227293d60bbf356eb60 (diff) |
gentoo auto-resync : 08:09:2024 - 12:29:27
Diffstat (limited to 'dev-python/django')
-rw-r--r-- | dev-python/django/Manifest | 13 | ||||
-rw-r--r-- | dev-python/django/django-4.2.15.ebuild | 103 | ||||
-rw-r--r-- | dev-python/django/django-4.2.16.ebuild | 2 | ||||
-rw-r--r-- | dev-python/django/django-5.0.8.ebuild | 105 | ||||
-rw-r--r-- | dev-python/django/django-5.0.9.ebuild | 2 | ||||
-rw-r--r-- | dev-python/django/django-5.1.ebuild | 102 |
6 files changed, 4 insertions, 323 deletions
diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest index 5c9b69a8b9f4..b6458e7354f1 100644 --- a/dev-python/django/Manifest +++ b/dev-python/django/Manifest @@ -1,24 +1,15 @@ AUX django-4.0-bashcomp.patch 2021 BLAKE2B f04c83b500a92ea8ef9609225191e38a41b3349a295beca8f8575ab05395d0cf37e1aefe295004b11c1bcf34cce9074ac7d274034cb50e1ae43e2fcb5d6952b2 SHA512 2215dca4120023b0fd839738bd602443c49e9adaa98d182bc74081ebe70613649c2dc11e2b5f6242701dceac25755adb8605774895091360b56ed1195a7e629e AUX django-5.0.6-py313.patch 2474 BLAKE2B cf47f32ec1989b50a3e2a3cdce950f33c9f1ca9b6b367397710f9b2a4fed96c78200f4ec8ad8c274a8cea57183be0c873ebbaacd2e4de86543311229cd2b76d1 SHA512 be59bc3bea66b446a0b145b447032b5a5dca9e6e7580830ca2c58170b7fa58ce0cf01b5daf864f44843f490ccac8192befc8c010b23e04fd9ed39616716717ad AUX django-5.1-more-pypy3.patch 1975 BLAKE2B 7b3c0820ec6b27c7ddc8c95db3eaf444831bae4ec546c5600a9f79475cbdd5671b7ad119482f9d4959088f5f923d810ff79e87149af8ca5d22d0260c84088d3e SHA512 02e945420bf1a911f930099aa00816191e5cece9520eb3373f83187b5dae70986db766d806f7c2e9fe92bc65a2e24cea6a52c22ecc7eb9ff883e813ac4d17258 -DIST Django-4.2.15.checksum.txt 2418 BLAKE2B 06338f990952736d1368c11bc0a14df4fcb756c7e33b0a843d692c1ca23a9bf5073c552513cf2846c16da24da475ff122f59122f90da528c2cb8875072fa7748 SHA512 b4e8eb163a889c2aa556217b2ba6280916c891b2f8af862d66e09b5ec643dee9281e58e2382fdfdee1d0e1a9a80267c93993374ae3e0f33f3ec5051bae69f145 -DIST Django-4.2.15.tar.gz 10418066 BLAKE2B 4abf7205995fbc8dd90ca43aadfdd6737c5f731fea4054f987ae851e0b6f0a5f0f799441f94ca322e31c07c2a810903a00b4432b71a7517b2a261c4844ddba90 SHA512 8f334dcaa36b3bce5184ddf1a1508bf42614be6ab486c9e0d87e9bfd212511c43081ad5fb02d2dd7b54f8236fc1f7ee9cd7b7f6f94ac8edc1cb52d1c0c698880 DIST Django-4.2.16.checksum.txt 2584 BLAKE2B c4808af742372d281b391a511fd32904cf56b87603fea5b8ee03e48b1c55d64f03c196fbfbee5b652ef08be6304cd7d2ab9b11535f3d368fbe03f6b8e3cc1b40 SHA512 f031b4beb360ba5184bdb8fa5ee35c0c7b779abb08ecb61b175965450345d3fa3d99f2862b5be7a0b5887ef42c7e65dde0506ede855cdd25e1992cea50847d1a DIST Django-4.2.16.tar.gz 10436023 BLAKE2B 67a35f9f625d10fe4bdaff8365532468a76a37ce04a9baf4b6140092b2fb5e2dcb164dbd70e313db3ab567ebd44ebaf3f55a47e12c50c765cf5518968ad63f67 SHA512 a4abe599af711f745f24a559943f67a168cd40f6c7345f2188817e748f9a463e434c463426ca99b80fdaa5580423248c35ff4fcfd35f3364abdf5279094e3f5c -DIST Django-5.0.8.checksum.txt 2408 BLAKE2B 18751733d7abaa4e98039bf0cfa3773a999df4351371939803ec77850c25d75392abc7e4136e8c4a79620017c224bafcd8552c2446ee0817249abebcc3b0e1bb SHA512 c05027bdec0928dd51239ba5c72b97b737ad73dbbdbdc1c4bef2b9faf8afc188cd854e1dcd3b5ffbdc9c3a30dea5a27e4b899f9d257bcee6f80fbfdfd30e7a20 -DIST Django-5.0.8.tar.gz 10630791 BLAKE2B 0a5408b46b69b701f3ff88717b41b22cd4abd776a0b46f46025febd423e4b9c5f395da50a5be9e479bc0047405330231da400f3f2324bbb69ca5ab07966bc168 SHA512 b835d01f76f0e0082f299c2b15483aa3a8aef79f873b09dac546d3b4ecfa8a6fb84d9377e06e18a858bd24bcdd2db89c4cf05811b3af133b7da6609f6c2d917c DIST Django-5.0.9.checksum.txt 2574 BLAKE2B e3bef5a7fdfa8a383cc1d185dff3e8818dee0005f6cd8e16866bee6990c8b3687c31ca2df67be29033b706e1dea86495b0e74c18d3cb0c6fec563085ffaa3497 SHA512 00e16ce374ebb02966bc7b00a207a5635c36173950ef230f3f8c70a2ddfa59d9a8dd6827f3dbb1c7aeb0da5f14dd39430a2d1bacd00fa80d02e2610ad76a7bbe DIST Django-5.0.9.tar.gz 10646283 BLAKE2B 898e7af1cde9c48589019c095a554f07ee3b92b2d26ff9d960a5cec05347664de608d8c12831f187fc8172e7f5dce947164419e937b26754691da4fec602ee2e SHA512 7d27bfdc07a79abe2a82a5579f27241384e507649006951a8e7d59d8ea627f6b240a13671ed4e61be58402a07d7b3359ca6df1ad69cc00876135810a543b249a DIST Django-5.1.1.checksum.txt 2574 BLAKE2B 4e03b7742dd3e67f08c63ebced58bf56b0dd216d81e433ece1512c9aeebd117193349a400841d7bb6407ed8d760c0703522ec7611cd6bb6e1b87e5e6f8d5803f SHA512 f15a4d1554a265c040f78b609ef9a71605ca3c5c40042cabfdcf1aa57534c4f79ea77c793045c8ebd3f950380fff4d511837096e02281d97385c0c6f6ba48b38 DIST Django-5.1.1.tar.gz 10675933 BLAKE2B b07311a3f9387b31d842a6840fae796629740a12ae23900849317d36575f47b0c4c91aca6cbdac67069f21466fbdfbd11ee16893143d0b4aa5db05594498827c SHA512 c5c75f0b36ef4316c4b7306ec4f8cb612ec554c79f1ac2346b56485ca025b1ca7c048a294568b71f989f2f19cb2c3849f01e5fe62dad00b6591989f274ec8c5b -DIST Django-5.1.checksum.txt 2551 BLAKE2B bec3fb2608b4152667420951ea7ba34cdbf416b30c0d03508917c0f41b914d6f55b69b209da308407659d93c1a23ecac33272969ad042c7bb8c1e8ac1c19527f SHA512 70f9dce04687c01b641b5c07ce8476db15231a82262015fb18a97b90b3caac11cb7d50cd7a749a80321af9a04bfce212ed9400be0fd114cb8d37f82193396161 -DIST Django-5.1.tar.gz 10681050 BLAKE2B 1cded54e573d7a75ff246523235a1e17b6900000ef428f02ddf1f17fb0146449cef28da9207cfb3a0a888def86620a755cb62dba033c15501dc9125d6164f462 SHA512 4c34df7adf2a151488d8595551fe6e8eb90fdef9d7592ce1d8c8b0663fe4d876614f5dde4df1dd648153d4df6246ae39dbb33a66b1c3d2f60bd46595e0efb396 DIST django-4.2.8-pypy3.patch.xz 5900 BLAKE2B b7dc5c5fc162817a218ee6d025ed8a65559b80e4506e49ac393428c26e2621f9e7c5010b36f2412dea8194a9f1086ab21f97286eabd696c6a786285eb07393cf SHA512 f953b5adbd1364f1d84dde55087ccb493256b1327701275fd2fe99f3cd41751d18e002b6e21afc96892e1671428a6b8f3c2e4b88252c3c278f1a79e286bb73e3 DIST django-5.0-pypy3.patch.xz 6124 BLAKE2B 7eba7cc70b30743cf4e186a2c5b0f27c13f49114a7a80bcaa2b25fdd7a959583c115a302c9bc6da97c32f6401cf8f3616818ba759190d317c5b033a0f0088766 SHA512 c550e2b2c1243d13cd1f4908f4b6df606355d1491e3bf72042e4b4777a4474306ff0f67b1c2eb4ab4d137cc85bde52dcdbd54bec245d2ba2e092545be8a2993b -EBUILD django-4.2.15.ebuild 2939 BLAKE2B 87cbd243792e973094c330efbbc1cceb7a485445b7b1664ba68e095c987057b59bd2c3d554541da7c35ff6abc10bba3794d0a20b3fe952a6038f1be922a39e11 SHA512 1deb4002df1d0b11173ec30d58038fc2a0a95043aa7bc3607e7c682be50ffb92f1047c28151c8217540b77be92d87c132c06b7e82437995d648aee3908bdcec3 -EBUILD django-4.2.16.ebuild 2943 BLAKE2B 7695d9c0d308fd3dd775a8d55ba5a35a991c477790f2389d6efc02c1012126ee35173468395bfbac4514f816a351bf3d222569c90c49792e783a21e96d2a0a14 SHA512 ae2cb11ec9cb8e60c8ee01a46a9c41f569f3fd07b68f98091b937669e63448996c047b5654140c35f0f03eaec411d9d5f48ca7272b1370579f675dd8ff74fa51 -EBUILD django-5.0.8.ebuild 3096 BLAKE2B 37f18e57d151a2207090779b67eaf12d2fa4d4303592a7ddf5cdbb04e1b06b42e7ecc4e216c839914618db8665f1f4f9da77561e99a7f03d40e2d8d5d9ca4f30 SHA512 fe3a1531da5d35ac643402b7d864681e7ffc1dcb6eab4f4cad6604208669738e20662f30f8907503a573ea1c84eef3dc8be93f8b9745aedca9aa8e252e9a9834 -EBUILD django-5.0.9.ebuild 3102 BLAKE2B 1f4d13b7e889e5a666452471f03e90687e49ca3af4add6540f3157545028d7dac19faffa0e7c73f2ce7f1d6576cfc26f4c441030c4e00f9c237d6492bfd02910 SHA512 f8af46f7bbcce8bdfcdede95f713a58fb747407581a8127f5bca3ee6b135665faa1c07c2093ea57ff6cd61747c6da7cc53bc8f268c25427f0d8f3ae035ce6a67 +EBUILD django-4.2.16.ebuild 2937 BLAKE2B 8eb01973edeb43f968efbce8c905682962ee846c6619b72fb95065f094788c77af5b7b310fb18149ee427d88a87cb3efe516b052abefca168576cf67f790cc72 SHA512 3b852ed8ea22dea59632cb0116a59d8afa1e6bff4aff96a76df150f7c0a5a58e05004c5c4b306f5e172459b0af7fe257008fdda2cc91222ceda1d8a285737796 +EBUILD django-5.0.9.ebuild 3096 BLAKE2B 37f18e57d151a2207090779b67eaf12d2fa4d4303592a7ddf5cdbb04e1b06b42e7ecc4e216c839914618db8665f1f4f9da77561e99a7f03d40e2d8d5d9ca4f30 SHA512 fe3a1531da5d35ac643402b7d864681e7ffc1dcb6eab4f4cad6604208669738e20662f30f8907503a573ea1c84eef3dc8be93f8b9745aedca9aa8e252e9a9834 EBUILD django-5.1.1.ebuild 2851 BLAKE2B 34d5ee39eebd55a8c2254d7cae0de19e6814cf63f598c5f493eaa1eab004a3db3a66c7b73ea19c93fec87b9ec7bbb6fde0064709e8414be9e523dc0928b7e85d SHA512 0767e301f37315279dae44150f5acca43b0aeeb81f0ca160db79b4e6e4a1339f5237792a1b2d6623cad360cb5e18bf53f4ce67e87f6827d51956ffd8c93bf7e2 -EBUILD django-5.1.ebuild 2941 BLAKE2B 0bfb27f7be94f405e0d301c021343f37c98adf043597f9c82af9adffec958a3b990ec9f1b83f2b4fa9f1e1b37e5fc3ae8e1046c6e5fa65fcee8ed02aef3b0ec0 SHA512 c649a09d1755b75fa543c072b0845fcdddf9fb17c7e857afcb3d1fab7a4c5a0b4911e615d4b37ba40217f08ba76f89e1fbfa41b03fb7c0e8d43063c5ea159270 MISC metadata.xml 400 BLAKE2B 6b3414ac734f078d90c82b44edd2f9f70e494e98da8a3d874d18006ae5e0eb5f7060b98b402094d6045e800bf525586f2566e6f554a8b2999cce37bdcc5472a0 SHA512 1cf0bb6ef93da3abbd1a66878462b1b8672a9b8fccd7f968b427e429caa6ecf30cb703a6060d621ccad1ba77b927d2b0e632b04b0a47975918ccbfcc5f2b85f7 diff --git a/dev-python/django/django-4.2.15.ebuild b/dev-python/django/django-4.2.15.ebuild deleted file mode 100644 index bd2335231db9..000000000000 --- a/dev-python/django/django-4.2.15.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) -PYTHON_REQ_USE='sqlite?,threads(+)' - -inherit bash-completion-r1 distutils-r1 multiprocessing optfeature verify-sig - -DESCRIPTION="High-level Python web framework" -HOMEPAGE=" - https://www.djangoproject.com/ - https://github.com/django/django/ - https://pypi.org/project/Django/ -" -SRC_URI=" - https://media.djangoproject.com/releases/$(ver_cut 1-2)/${P^}.tar.gz - https://dev.gentoo.org/~mgorny/dist/python/django-4.2.8-pypy3.patch.xz - verify-sig? ( https://media.djangoproject.com/pgp/${P^}.checksum.txt ) -" -S="${WORKDIR}/${P^}" - -LICENSE="BSD" -# admin fonts: Roboto (media-fonts/roboto) -LICENSE+=" Apache-2.0" -# admin icons, jquery, xregexp.js -LICENSE+=" MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos" -IUSE="doc sqlite test" -RESTRICT="!test? ( test )" - -RDEPEND=" - <dev-python/asgiref-4[${PYTHON_USEDEP}] - >=dev-python/asgiref-3.6.0[${PYTHON_USEDEP}] - >=dev-python/sqlparse-0.3.1[${PYTHON_USEDEP}] - sys-libs/timezone-data -" -BDEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - ${RDEPEND} - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pillow[webp,${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/selenium[${PYTHON_USEDEP}] - dev-python/tblib[${PYTHON_USEDEP}] - sys-devel/gettext - ) - verify-sig? ( >=sec-keys/openpgp-keys-django-20240807 ) -" - -PATCHES=( - "${FILESDIR}"/django-4.0-bashcomp.patch - "${WORKDIR}"/django-4.2.8-pypy3.patch - # https://code.djangoproject.com/ticket/35661 - "${FILESDIR}"/django-5.1-more-pypy3.patch -) - -distutils_enable_sphinx docs --no-autodoc - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/django.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "${P^}.checksum.txt" sha256 "${P^}.tar.gz" - cd "${WORKDIR}" || die - fi - - default -} - -python_test() { - # Tests have non-standard assumptions about PYTHONPATH, - # and don't work with ${BUILD_DIR}/lib. - PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite \ - -v2 --parallel="${EPYTEST_JOBS:-$(makeopts_jobs)}" || - die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - newbashcomp extras/django_bash_completion ${PN}-admin - bashcomp_alias ${PN}-admin django-admin.py - - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature_header "Additional Backend support can be enabled via:" - optfeature "MySQL backend support" dev-python/mysqlclient - optfeature "PostgreSQL backend support" dev-python/psycopg:0 - optfeature_header - 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-4.2.16.ebuild b/dev-python/django/django-4.2.16.ebuild index 4a334aecaf30..0d0c1e3d6c0f 100644 --- a/dev-python/django/django-4.2.16.ebuild +++ b/dev-python/django/django-4.2.16.ebuild @@ -28,7 +28,7 @@ LICENSE+=" Apache-2.0" # admin icons, jquery, xregexp.js LICENSE+=" MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86 ~x64-macos" IUSE="doc sqlite test" RESTRICT="!test? ( test )" diff --git a/dev-python/django/django-5.0.8.ebuild b/dev-python/django/django-5.0.8.ebuild deleted file mode 100644 index 29fcd562b6c8..000000000000 --- a/dev-python/django/django-5.0.8.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..13} ) -PYTHON_REQ_USE='sqlite?,threads(+)' - -inherit bash-completion-r1 distutils-r1 multiprocessing optfeature verify-sig - -DESCRIPTION="High-level Python web framework" -HOMEPAGE=" - https://www.djangoproject.com/ - https://github.com/django/django/ - https://pypi.org/project/Django/ -" -SRC_URI=" - https://media.djangoproject.com/releases/$(ver_cut 1-2)/${P^}.tar.gz - https://dev.gentoo.org/~mgorny/dist/python/django-5.0-pypy3.patch.xz - verify-sig? ( https://media.djangoproject.com/pgp/${P^}.checksum.txt ) -" -S="${WORKDIR}/${P^}" - -LICENSE="BSD" -# admin fonts: Roboto (media-fonts/roboto) -LICENSE+=" Apache-2.0" -# admin icons, jquery, xregexp.js -LICENSE+=" MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86 ~x64-macos" -IUSE="doc sqlite test" -RESTRICT="!test? ( test )" - -RDEPEND=" - <dev-python/asgiref-4[${PYTHON_USEDEP}] - >=dev-python/asgiref-3.7.0[${PYTHON_USEDEP}] - >=dev-python/sqlparse-0.3.1[${PYTHON_USEDEP}] - sys-libs/timezone-data -" -BDEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - ${RDEPEND} - >=dev-python/docutils-0.19[${PYTHON_USEDEP}] - >=dev-python/jinja-2.11.0[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pillow[webp,${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - >=dev-python/selenium-4.8.0[${PYTHON_USEDEP}] - >=dev-python/tblib-1.5.0[${PYTHON_USEDEP}] - sys-devel/gettext - ) - verify-sig? ( >=sec-keys/openpgp-keys-django-20240807 ) -" - -PATCHES=( - "${FILESDIR}"/django-4.0-bashcomp.patch - "${WORKDIR}"/django-5.0-pypy3.patch - # https://github.com/django/django/commit/3426a5c33c36266af42128ee9eca4921e68ea876 - "${FILESDIR}"/django-5.0.6-py313.patch - # https://code.djangoproject.com/ticket/35661 - "${FILESDIR}"/django-5.1-more-pypy3.patch -) - -distutils_enable_sphinx docs --no-autodoc - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/django.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "${P^}.checksum.txt" sha256 "${P^}.tar.gz" - cd "${WORKDIR}" || die - fi - - default -} - -python_test() { - # Tests have non-standard assumptions about PYTHONPATH, - # and don't work with ${BUILD_DIR}/lib. - PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite \ - -v2 --parallel="${EPYTEST_JOBS:-$(makeopts_jobs)}" || - die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - newbashcomp extras/django_bash_completion ${PN}-admin - bashcomp_alias ${PN}-admin django-admin.py - - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature_header "Additional Backend support can be enabled via:" - optfeature "MySQL backend support" dev-python/mysqlclient - optfeature "PostgreSQL backend support" dev-python/psycopg:0 - optfeature_header - 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-5.0.9.ebuild b/dev-python/django/django-5.0.9.ebuild index 739f56fb7e65..29fcd562b6c8 100644 --- a/dev-python/django/django-5.0.9.ebuild +++ b/dev-python/django/django-5.0.9.ebuild @@ -28,7 +28,7 @@ LICENSE+=" Apache-2.0" # admin icons, jquery, xregexp.js LICENSE+=" MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86 ~x64-macos" IUSE="doc sqlite test" RESTRICT="!test? ( test )" diff --git a/dev-python/django/django-5.1.ebuild b/dev-python/django/django-5.1.ebuild deleted file mode 100644 index 1a52c318f46b..000000000000 --- a/dev-python/django/django-5.1.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..13} ) -PYTHON_REQ_USE='sqlite?,threads(+)' - -inherit bash-completion-r1 distutils-r1 multiprocessing optfeature verify-sig - -DESCRIPTION="High-level Python web framework" -HOMEPAGE=" - https://www.djangoproject.com/ - https://github.com/django/django/ - https://pypi.org/project/Django/ -" -SRC_URI=" - https://media.djangoproject.com/releases/$(ver_cut 1-2)/${P^}.tar.gz - https://dev.gentoo.org/~mgorny/dist/python/django-5.0-pypy3.patch.xz - verify-sig? ( https://media.djangoproject.com/pgp/${P^}.checksum.txt ) -" -S="${WORKDIR}/${P^}" - -LICENSE="BSD" -# admin fonts: Roboto (media-fonts/roboto) -LICENSE+=" Apache-2.0" -# admin icons, jquery, xregexp.js -LICENSE+=" MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" -IUSE="doc sqlite test" -RESTRICT="!test? ( test )" - -RDEPEND=" - <dev-python/asgiref-4[${PYTHON_USEDEP}] - >=dev-python/asgiref-3.8.1[${PYTHON_USEDEP}] - >=dev-python/sqlparse-0.3.1[${PYTHON_USEDEP}] - sys-libs/timezone-data -" -BDEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - ${RDEPEND} - >=dev-python/docutils-0.19[${PYTHON_USEDEP}] - >=dev-python/jinja-2.11.0[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pillow[webp,${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - >=dev-python/selenium-4.8.0[${PYTHON_USEDEP}] - >=dev-python/tblib-1.5.0[${PYTHON_USEDEP}] - sys-devel/gettext - ) - verify-sig? ( >=sec-keys/openpgp-keys-django-20240807 ) -" - -PATCHES=( - "${FILESDIR}"/django-4.0-bashcomp.patch - # https://code.djangoproject.com/ticket/35661 - "${FILESDIR}"/django-5.1-more-pypy3.patch -) - -distutils_enable_sphinx docs --no-autodoc - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/django.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "${P^}.checksum.txt" sha256 "${P^}.tar.gz" - cd "${WORKDIR}" || die - fi - - default -} - -python_test() { - # Tests have non-standard assumptions about PYTHONPATH, - # and don't work with ${BUILD_DIR}/lib. - PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite \ - -v2 --parallel="${EPYTEST_JOBS:-$(makeopts_jobs)}" || - die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - newbashcomp extras/django_bash_completion ${PN}-admin - bashcomp_alias ${PN}-admin django-admin.py - - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature_header "Additional Backend support can be enabled via:" - optfeature "MySQL backend support" dev-python/mysqlclient - optfeature "PostgreSQL backend support" dev-python/psycopg:0 - optfeature_header - 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 -} |