summaryrefslogtreecommitdiff
path: root/dev-python/django
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-10 03:03:09 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-10 03:03:09 +0000
commitbe94ae04eee564451203d45977c2ef7c7ace1580 (patch)
tree616ffc0ad9aee18dc7d5e9e62bf62394e8e520ba /dev-python/django
parent2be329ae14bbf99f0fc4de7567e2386bbb529fdc (diff)
gentoo auto-resync : 10:11:2024 - 03:03:09
Diffstat (limited to 'dev-python/django')
-rw-r--r--dev-python/django/Manifest3
-rw-r--r--dev-python/django/django-5.1.3.ebuild99
2 files changed, 102 insertions, 0 deletions
diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest
index 48b47fc1ee80..a77eae383368 100644
--- a/dev-python/django/Manifest
+++ b/dev-python/django/Manifest
@@ -7,9 +7,12 @@ DIST Django-5.0.9.checksum.txt 2574 BLAKE2B e3bef5a7fdfa8a383cc1d185dff3e8818dee
DIST Django-5.0.9.tar.gz 10646283 BLAKE2B 898e7af1cde9c48589019c095a554f07ee3b92b2d26ff9d960a5cec05347664de608d8c12831f187fc8172e7f5dce947164419e937b26754691da4fec602ee2e SHA512 7d27bfdc07a79abe2a82a5579f27241384e507649006951a8e7d59d8ea627f6b240a13671ed4e61be58402a07d7b3359ca6df1ad69cc00876135810a543b249a
DIST Django-5.1.2.checksum.txt 2572 BLAKE2B 7c74394e81e443b97ce3029b11f5a84d9b4b555e05d71046e7760650c62aa40eb72fd779b11be05d8683e07925aff6aec736bcd38c5e5380b4dd05edd220ebbd SHA512 2f5d7e5e35f964cf78f70dbaee42a24511f04848f082406f9404b75bbaaf6e460c3c1de44da3a6e48c602d3273a898361639b26c7f10328eade491cf2060d4a4
DIST Django-5.1.2.tar.gz 10711674 BLAKE2B f2020899c59a65aac74800db0f96bf93a10d01a404880857ee9bae95c35e9b0828c65ed888662503e2f9d85c1a54e3f1d5cb4827e8c2ce238845f70fb6571204 SHA512 7c7199fe5884f184ce6460df2186c6638110d77b06a37a5fc5cdfe359561b67d3ee8bb80d405c67fbbe16f10c50bfd0270a8e382d18c4366cb0da46d3ef7b4d2
+DIST Django-5.1.3.checksum.txt 2553 BLAKE2B dd8f2e988f51210594b0d16d55c9ec7dbe9db7327a56894d6f8f0c0ac7ead103ba78e34d9279af7a2bd1f662e5441aad9b74c35726b05211516798eda658ed94 SHA512 6f30aa4646455c3b1da4f8536b7b0e906f0ca3dd6cc0403f3f5d47268df0c3b4a922be12ebbe8b0025e46aa9e5d598d261582a7e6fedf4b7f2990a02a4895fb2
+DIST Django-5.1.3.tar.gz 10698518 BLAKE2B 409702f8e80d3a60dafce5c92c24a723c7ca3b0121d32f8a4a1e2a22fed7fe8e66aeef5c5c5eab9773020c98f601723f940bbd782245de4d1489f2421dc203e3 SHA512 43c7c196c8d34c2354d2c0c3a1e1d4a816841dcdf60ec6277567acce23aae125c502f1afa354838fc4722fd3e665587878e2c57caa056ad5a6130bb5643991be
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.16.ebuild 2937 BLAKE2B 8eb01973edeb43f968efbce8c905682962ee846c6619b72fb95065f094788c77af5b7b310fb18149ee427d88a87cb3efe516b052abefca168576cf67f790cc72 SHA512 3b852ed8ea22dea59632cb0116a59d8afa1e6bff4aff96a76df150f7c0a5a58e05004c5c4b306f5e172459b0af7fe257008fdda2cc91222ceda1d8a285737796
EBUILD django-5.0.9.ebuild 3095 BLAKE2B c5b806d9d776e5b1ee15bdccb006996e8ea435d1f6234b7992bea3758a2aecf703269fe7b87a5f8ac569172849ec86c7873b6625b33f4f7883e4b2ab58265e90 SHA512 e30c201e54738639bdb5da312e7986691ba7bdd4479663986e247afd4e7a3c4c56faea9963ba02b315c8fe4c01ed193821762bb8c3c1201ed07e82c74983faa8
EBUILD django-5.1.2.ebuild 2844 BLAKE2B 87f664252d2c37f030e75bb88dc4479f3e0e060ef4b4aed7e51a3af8d274b285d2fdec094d664dd32aabe8ebce386b1fc7a7d4556c65f1cdcc44876354fc9600 SHA512 ee37df805f2db380a6747bc19889e8cebecdab9b1aa77fad80cc815c008420c77724aaca1826c40caf3cf4fc574c0cbb27fa8b76069235a6b85d2f2fb0b37e51
+EBUILD django-5.1.3.ebuild 2781 BLAKE2B 274ec31875a78ac31b1df65f889caf933d3b49697aeea991fe6237c0ed99ae03c44418cbc5ac34f8f14b153a5554ba17416b187e021a719be677b51089a9df77 SHA512 a31621fbb6875f210335621772e825d825c4f80c43f1577730fd80f18ff395a3246446d3bac01f8c0f30ac40d409ceeb004423ac6e588a5d31a76e8a7534ff92
MISC metadata.xml 400 BLAKE2B 6b3414ac734f078d90c82b44edd2f9f70e494e98da8a3d874d18006ae5e0eb5f7060b98b402094d6045e800bf525586f2566e6f554a8b2999cce37bdcc5472a0 SHA512 1cf0bb6ef93da3abbd1a66878462b1b8672a9b8fccd7f968b427e429caa6ecf30cb703a6060d621ccad1ba77b927d2b0e632b04b0a47975918ccbfcc5f2b85f7
diff --git a/dev-python/django/django-5.1.3.ebuild b/dev-python/django/django-5.1.3.ebuild
new file mode 100644
index 000000000000..e78879bb7558
--- /dev/null
+++ b/dev-python/django/django-5.1.3.ebuild
@@ -0,0 +1,99 @@
+# 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
+ 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
+)
+
+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
+}