From a45eaba8b74340f1b166bb2ba96d61d41fc11fad Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 4 Mar 2024 23:43:21 +0000 Subject: gentoo auto-resync : 04:03:2024 - 23:43:21 --- dev-python/Manifest.gz | Bin 269808 -> 269973 bytes dev-python/django/Manifest | 15 +--- dev-python/django/django-3.2.24.ebuild | 109 ------------------------- dev-python/django/django-3.2.25.ebuild | 2 +- dev-python/django/django-4.2.10.ebuild | 100 ----------------------- dev-python/django/django-4.2.11.ebuild | 2 +- dev-python/django/django-5.0.2.ebuild | 100 ----------------------- dev-python/django/django-5.0.3.ebuild | 2 +- dev-python/uv/Manifest | 7 ++ dev-python/uv/files/uv-0.1.13-skip-tests.patch | 48 +++++++++++ dev-python/uv/metadata.xml | 11 +++ dev-python/uv/uv-0.1.13.ebuild | 96 ++++++++++++++++++++++ 12 files changed, 168 insertions(+), 324 deletions(-) delete mode 100644 dev-python/django/django-3.2.24.ebuild delete mode 100644 dev-python/django/django-4.2.10.ebuild delete mode 100644 dev-python/django/django-5.0.2.ebuild create mode 100644 dev-python/uv/Manifest create mode 100644 dev-python/uv/files/uv-0.1.13-skip-tests.patch create mode 100644 dev-python/uv/metadata.xml create mode 100644 dev-python/uv/uv-0.1.13.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 95533de5ae0a..8b87a9d86e68 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest index 4d36ff9f9194..59334971229c 100644 --- a/dev-python/django/Manifest +++ b/dev-python/django/Manifest @@ -2,24 +2,15 @@ AUX django-3.1-bashcomp.patch 2085 BLAKE2B 36a0aa4d3413f13089ac104f5d3f98ecbb152 AUX django-3.2.19-py311.patch 7776 BLAKE2B 387f602318cbf9cdc7edfb2c63a2fe05d3559c3773defae5a5aaf30aef5fe46aadd5c764273d4b7af59132a57caf28cc0463c70eac680105103ba824009eba16 SHA512 5d94f45e92d8ac020aeda1c682e9c5cc60f4c82920dcdf46ef777e76c880e6ca81ec70daabd09cde4ce769fbbc13ac63d1a3763d7eeeeff53102bc31890166ca AUX django-3.2.20-urlsplit.patch 4567 BLAKE2B fc167eeba60856cde358a37239eda0cc77c856bed76597505d934c71a88f838e4c001adb2593abdc98a8e4f0bfd90e1e9ea86b3a25fc8bc1d9cf8f556b046afd SHA512 0f26a0118897f2cdcdbbbaf02b1fe9c2e2ad7b680f15e19cff2b69a242a0108975d1b9029f78a49db75090ee292c12d14f2b0618fd91aacc97cd18cf5190e86c AUX django-4.0-bashcomp.patch 2021 BLAKE2B f04c83b500a92ea8ef9609225191e38a41b3349a295beca8f8575ab05395d0cf37e1aefe295004b11c1bcf34cce9074ac7d274034cb50e1ae43e2fcb5d6952b2 SHA512 2215dca4120023b0fd839738bd602443c49e9adaa98d182bc74081ebe70613649c2dc11e2b5f6242701dceac25755adb8605774895091360b56ed1195a7e629e -DIST Django-3.2.24.checksum.txt 2583 BLAKE2B 87fa39627676d4ce75058df6dfc286eae160401b617a8c6e0e249cb4f2c608e00e9bd23ae8fd46fe405dc7fa94a2cd684dc943298dd4af430e370bf77ef0a386 SHA512 1475ec74eb389db2bb47cc5fb00080907a59534cc9f48ac9e5e3b275cbf8de3ada43377fe4e1ab22dfa30a43069e04db2f7a1a441cb60119bb5f835fd3a5ccb8 -DIST Django-3.2.24.tar.gz 9833004 BLAKE2B d3809547f95aa266c1287cfa6d1fee32561456dc55763124138ed9b3afe2071b2bd45a737814210cc47c3d0033326ddebdc62f7c2902c6719d95a6ff895e5c1b SHA512 840b4c87e159d9714ac816fffb09faba76d3b130a76caffff68b7edd59e9488832ccd8c5ffaa8f0d066f0faa029f6ef2395f6a8e9351eaa1bcbd316d50965fc8 DIST Django-3.2.25.checksum.txt 2560 BLAKE2B e082c588f4e124c9d71c1914e475fd70ed9b68583d65ea59ba0822b96de36c2edc98b4d9192f3d7c75467306fe03404303f6c2a98a026bdb5308bbd1dee89f99 SHA512 49a1610dcd61cbd322f0a5d7fe3cf249c0c4288b194fc8c2bdf7ec6fb8f92b69ca68dcdb71b79998cd80b978b70f48069669d996b6503261ba726c77c8b87672 DIST Django-3.2.25.tar.gz 9836336 BLAKE2B 586520e0689b2594dd8ce4abb173418aedfde80cc84012d2a4207cbfc67120cbf405a8dfc8d069bb946f027f0eef22b233bd3b3ce569b01ea8fdc7836a6e530f SHA512 ccba83abd1777123186d685e21b96f41abf216a692d18ffe764d2e519eb9d1f6011d08c86b3affdd891591ca4ed7fee27ffa4750d19b486ca775ee680fdb0cb1 -DIST Django-4.2.10.checksum.txt 2583 BLAKE2B 5529d8d83fb2ed7ca644ab929809f13ac59225f23b9590f3ab97d4926da7e10d6d3f47e2638c845e7b2cff3c1dd2a0ed50105d23bf3eff4c689811e1785a0661 SHA512 64bec1d2f31627d9347b93b1d947b80eee70257bc967393dfe8af5b56d845ec21ffdd2aba11106a5b4fe13d55a51949b8b156b341eca4327082fd21ee0db35b4 -DIST Django-4.2.10.tar.gz 10425081 BLAKE2B ad014b3592d8f5d13d02aa91a029c8cdf85a9e0d3e1b1d3234c833523668059622077eda2fda6cabfd824cf6610b19ca3dc2ceb76c480bde6e97b946812ee162 SHA512 af8c4d596c6ede8a5da9ae0f435ca5c2c17f38b0ff3f31f058e36df695c767813b48f7260bbb8d8a261ef36f836fe1abffc563de185af51080dae1cf3f037f69 DIST Django-4.2.11.checksum.txt 2560 BLAKE2B 75359ca138515642b4cb4bb17f4e5f18f94d9c4b5a98fe62f4813068d3dfccfa6c3fe1a2ae9ec24758610d0c5c8fe899b54f39b9cd657a92635e8cd7c6f7dcf0 SHA512 9ab3700f2675380dd6e18b5cc1ebbf4fbbd31680079e9232f96133810956e3ab5a46eefa45103a90bbec9d0ba85cc54f5cc2dd4f3d69c64960724f2821ecf3f3 DIST Django-4.2.11.tar.gz 10426858 BLAKE2B bce1611700383831138a467cfdc3ad2780385429be040d197cb757206c3d1b4c82075cf6766f8222d0c061ee7c0a7a48caf8cd28e8fe6271c39dc47899c4b276 SHA512 5842f0c2592b695ecfd7f00d250075cb9581efc8a7f389f155dbac74d80ac7899f600ffba0d51e3391f15c4a1444554d901b8a673a1091ab7269e24862122ef0 -DIST Django-5.0.2.checksum.txt 2573 BLAKE2B 705a85beaa4e277fe689d10784f10808b4a06cbb1af7d2417e812d78669256b53d5a2c7678997e96eeb0942c4b31c008628255bb8819e43cbae790b899daa04e SHA512 b37745d0905a2af5793e98c2e00d644f845bcbd236253165cf223b9c748a3f95e6d755d258706769d31fd1009f0815fe1708f6bdb9074343797bb906851ade1a -DIST Django-5.0.2.tar.gz 10619702 BLAKE2B 82608309047fc28f0c3cff15ecfa921b95bae7e2045a75da06e6db4acd74a7508a545ef9419d7b59861832feb6849112d76b49bd87740b797508cfdbaeaf23f6 SHA512 a9270eafb0e270222740ae94b2f866eddaab296768253f0d84c78760a2ac442e0f648af55f74b9b07082f4ccc4eeb91c4facdfdc32ec770936015524fcf4838f DIST Django-5.0.3.checksum.txt 2550 BLAKE2B d69fe42e77a1163509f570488b5744571b314b4f24aa0b2f3727ad26ccc53cdc4e16a4b53f21d7e31b0e120462b68397cb31cceded5f4f2d4f0fc9f7afd0f1ee SHA512 abf04cf4fb43f51a8ecef8924e000680184cbb39a9a1a80b679dd1b5cd1e8a90870bc9749b84a6ada79c76cf9c8adb7f870ac0c7ebad68330e8731acdaf3ff22 DIST Django-5.0.3.tar.gz 10620661 BLAKE2B eaf2f04abf73ad36f7e7825d3655319fbab2268bf5da67ad112e2662f5f5c1bab16d485c75c681ec7e203c111b9676dab2f3552e599a5592a90981e6f7cc75eb SHA512 ed1899007898fc1f6c0889b28fc94016aa9cd2a3556f486bf77efc4310d04896c73bcef93fb4c9162ce884da01c557f6343a20da15a7d6cf2193fd9e88e0dadb 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-3.2.24.ebuild 3017 BLAKE2B f59f9d40bd5ff49fbd1dc20b71ec0e14395378351eb136556a460d82e06d04384064b05b78e739f1b08f381de54d1951701e71ee508e68199d101b804609aa4b SHA512 6b7f57ece6f40c07b0add642d9e35595fb53114e13486a463af561fae20a7c9d5e63e4255531621737fc306ffd6bb57795db1bb0b7fdacc281b5be931343dd00 -EBUILD django-3.2.25.ebuild 3021 BLAKE2B ef6dcf41f55d27585f1a8a593510040ba4cf2232a10fc1a1df7fd3fecb3c66b73e8638448f6ecc78d891d351c9c0e97f52305d0d4d97f033e74066f469ebcd97 SHA512 258c5f7fe2f2979710eef0acbaea6946859a6c6af614b1088cd614c0ee1e7d251e601d9b37ed994912b08a92771e72ea32261e9bda22d3c1983ac937fb43b724 -EBUILD django-4.2.10.ebuild 2825 BLAKE2B 5c1248317800bbbcfdc92cbaf7e5585cdd7751e4545898c90f637678673fedfb49afff9acf84de97d4329392744d174e936f7b958b029fe4909d0f25d4e16252 SHA512 1574b2c413e51cfc696c6408f85e33068d786e1b808dea2fc364bae84fcd70582e01d33db3bfa16ad559e9006bee30c837cec00ccbd72f87f53127b63aa50e47 -EBUILD django-4.2.11.ebuild 2829 BLAKE2B edce13ba1bb9ccebb08c1637893a51aee1b969cb49d19dfbd9967610f77fac1f6e5954ed17a17c0ac8ae3ac2d7bc7108cb51717e30fd12734ff3a8d92d63bb21 SHA512 e570e192c4851d59bf4e98ca2cf354c688cd5757935993042c7e187edba82deb2988c9caf0ab37514cd1f8838d252250070d9296949ba534198ac267f0a1fbc0 -EBUILD django-5.0.2.ebuild 2853 BLAKE2B a7ff79d017a5e0b7d5294be5e4cac4b77cd633a062e5594bf1586c81e22d69a0d3213e7259141bd92fd53b1264ee12e2823a95313fbb197782acbebdd8fe7a96 SHA512 d939ca635853123ad1ddbde195d18467477858c4c8ff2889ef83cc418bb749a2f957ce19dd4e92c91dcb30ebaba9385cc39d9272eb71d7fbc2f1ef2920cb0999 -EBUILD django-5.0.3.ebuild 2857 BLAKE2B 09b9334029a7911afb4ecb699b9ce0606029d51d4f9342ebd23a0566ab0503cff7a6deddaa9e439ca10929328e8be642c49783af8618f2ec8d98ff93a39bb4e5 SHA512 54e147fcb459dc2ef1744519271305ce83989201027bdc554d7dd4b7f1b83ba17eb797cc6a3fadcd21265ebb7e2b8e6bcab3d079d55ffec2bf10d1828254fe01 +EBUILD django-3.2.25.ebuild 3017 BLAKE2B f59f9d40bd5ff49fbd1dc20b71ec0e14395378351eb136556a460d82e06d04384064b05b78e739f1b08f381de54d1951701e71ee508e68199d101b804609aa4b SHA512 6b7f57ece6f40c07b0add642d9e35595fb53114e13486a463af561fae20a7c9d5e63e4255531621737fc306ffd6bb57795db1bb0b7fdacc281b5be931343dd00 +EBUILD django-4.2.11.ebuild 2825 BLAKE2B 5c1248317800bbbcfdc92cbaf7e5585cdd7751e4545898c90f637678673fedfb49afff9acf84de97d4329392744d174e936f7b958b029fe4909d0f25d4e16252 SHA512 1574b2c413e51cfc696c6408f85e33068d786e1b808dea2fc364bae84fcd70582e01d33db3bfa16ad559e9006bee30c837cec00ccbd72f87f53127b63aa50e47 +EBUILD django-5.0.3.ebuild 2853 BLAKE2B a7ff79d017a5e0b7d5294be5e4cac4b77cd633a062e5594bf1586c81e22d69a0d3213e7259141bd92fd53b1264ee12e2823a95313fbb197782acbebdd8fe7a96 SHA512 d939ca635853123ad1ddbde195d18467477858c4c8ff2889ef83cc418bb749a2f957ce19dd4e92c91dcb30ebaba9385cc39d9272eb71d7fbc2f1ef2920cb0999 MISC metadata.xml 400 BLAKE2B 6b3414ac734f078d90c82b44edd2f9f70e494e98da8a3d874d18006ae5e0eb5f7060b98b402094d6045e800bf525586f2566e6f554a8b2999cce37bdcc5472a0 SHA512 1cf0bb6ef93da3abbd1a66878462b1b8672a9b8fccd7f968b427e429caa6ecf30cb703a6060d621ccad1ba77b927d2b0e632b04b0a47975918ccbfcc5f2b85f7 diff --git a/dev-python/django/django-3.2.24.ebuild b/dev-python/django/django-3.2.24.ebuild deleted file mode 100644 index 5648ebe4220c..000000000000 --- a/dev-python/django/django-3.2.24.ebuild +++ /dev/null @@ -1,109 +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=( python3_{10..11} ) -PYTHON_REQ_USE='sqlite?,threads(+)' - -inherit bash-completion-r1 distutils-r1 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="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos" -IUSE="doc sqlite test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/asgiref-3.3.4[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - >=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}] -" -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-20201201 ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-3.1-bashcomp.patch - "${FILESDIR}"/django-3.2.19-py311.patch - # needed for Python 3.11 - "${FILESDIR}"/django-3.2.20-urlsplit.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_prepare_all() { - # Fails because of warnings - sed -i 's/test_dumpdata_proxy_with_concrete/_&/' tests/fixtures/tests.py || die - # TODO: this suddenly started failing - sed -i -e 's:test_custom_fields:_&:' tests/inspectdb/tests.py || die - - distutils-r1_python_prepare_all -} - -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 || - 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:2 - 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-3.2.25.ebuild b/dev-python/django/django-3.2.25.ebuild index 6fd28d4ce937..5648ebe4220c 100644 --- a/dev-python/django/django-3.2.25.ebuild +++ b/dev-python/django/django-3.2.25.ebuild @@ -27,7 +27,7 @@ LICENSE+=" Apache-2.0" # admin icons, jquery, xregexp.js LICENSE+=" MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos" IUSE="doc sqlite test" RESTRICT="!test? ( test )" diff --git a/dev-python/django/django-4.2.10.ebuild b/dev-python/django/django-4.2.10.ebuild deleted file mode 100644 index 9fb5be5aea18..000000000000 --- a/dev-python/django/django-4.2.10.ebuild +++ /dev/null @@ -1,100 +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-3.6.0[${PYTHON_USEDEP}] - >=dev-python/sqlparse-0.3.1[${PYTHON_USEDEP}] -" -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-20230606 ) -" - -PATCHES=( - "${FILESDIR}"/django-4.0-bashcomp.patch - "${WORKDIR}"/django-4.2.8-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.11.ebuild b/dev-python/django/django-4.2.11.ebuild index 927c7bb1f192..9fb5be5aea18 100644 --- a/dev-python/django/django-4.2.11.ebuild +++ b/dev-python/django/django-4.2.11.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.2.ebuild b/dev-python/django/django-5.0.2.ebuild deleted file mode 100644 index cb3b94f67c03..000000000000 --- a/dev-python/django/django-5.0.2.ebuild +++ /dev/null @@ -1,100 +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-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="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos" -IUSE="doc sqlite test" -RESTRICT="!test? ( test )" - -RDEPEND=" - =dev-python/asgiref-3.7.0[${PYTHON_USEDEP}] - >=dev-python/sqlparse-0.3.1[${PYTHON_USEDEP}] -" -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-20230606 ) -" - -PATCHES=( - "${FILESDIR}"/django-4.0-bashcomp.patch - "${WORKDIR}"/django-5.0-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.3.ebuild b/dev-python/django/django-5.0.3.ebuild index 1ff45ba52cdf..cb3b94f67c03 100644 --- a/dev-python/django/django-5.0.3.ebuild +++ b/dev-python/django/django-5.0.3.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/uv/Manifest b/dev-python/uv/Manifest new file mode 100644 index 000000000000..782826400f36 --- /dev/null +++ b/dev-python/uv/Manifest @@ -0,0 +1,7 @@ +AUX uv-0.1.13-skip-tests.patch 1948 BLAKE2B e155d96cade60daca9ef5438b1bf30134f2aeb3ff5ceb81ec72ef30b520d52f0f1bc0e39951f58ec7df10c1ab0f85aace80a72586ad7d167115c2634bd96ed4d SHA512 4ccea4023be89433726f33aac77bb8832aaa5a0f8e3cd2865023564d40e33b2ceec6b0f2a93e8a40f7ed345ba89cb67723d41cc680ccfb43d43e23b9ba5a201d +DIST pubgrub-aab132a3d4d444dd8dd41d8c4e605abd69dacfe1.gh.tar.gz 73856 BLAKE2B 9e30babd5159de0f80a69de082e990cade3768a4f62c64ecec46253b1c8a3da56a61d096f0cd2e74da436cbabb444c5acbfe27cc55160a5c0c99205c0317612a SHA512 f49c63df7394fcd4ce6a616e3c8d7893274f4bbe4d451f3fb46eed80a3e03eb345818c5ff87e9d3ac23c80ea7ffee5de01237a5dfff40f740f88a6d61eab5f81 +DIST rs-async-zip-d76801da0943de985254fc6255c0e476b57c5836.gh.tar.gz 95906 BLAKE2B a5a0e4d20926d637cbfa25cb486580de6682365c588a9653c873622424ec28ac8c7380d1c99ec260cd342b214aacd5124b51fc5e5646f15f76db4148aada2f41 SHA512 dd5b61bfc913a94822d74f1dac3b30f7a3979a641c3b08ccb5fa84cfbb2bfd8c0f807a30cc4ae0abfe5df7079011c20e1f8a642fd439ce6ba2c404ddee06baf5 +DIST uv-0.1.13-crates.tar.xz 47903460 BLAKE2B da7a2f023054197820cd1bcd13c6e4ff6d4c4bc4780fa109b2c5b796830333f21bc4c7f426052f7ed31a6c02f4e28694cfd94b1aa9d3044ebde49570e565c04b SHA512 cce73590c12a082fed36092bada42b878437cc44137f47c47b4e0e6fae214295867fbda90576d8ed47b025d873dc5655ab74c9914d6ccbaf6cea994b793800d5 +DIST uv-0.1.13.gh.tar.gz 1860446 BLAKE2B e5c209e11ea10a0aa8a88d4d40b40fe84cdd764cab1e852b49a52d8ff8749aac59d62234626fa768e6b1c304ee7b7a54cf99f5af4ecf21b368a1b521a8f903df SHA512 dc00cc26bc3b8e30edcc619bd49ff44962180623be8d1e2d7dc7c2b1c29969c8b393eda31b1392d90f0d72c15f2cb19af489e1e44f857225e461393c4b4b96c1 +EBUILD uv-0.1.13.ebuild 1968 BLAKE2B f282ab87c5307d6b3f93bbd2c62874b049673959cb911aec72f3b7a2327e0b8c8078fc93905c0d8f0a298ca8f83feabd92246d93e611c25bb32eed8cc2b97702 SHA512 1c24142c9bd6538fe1eb078a462f4ccfbcc0bf6d2cfe984ee93e7458241b90b8387eee9f757a8c93b70d0d8933769b2cd96165006da8f20d741e317c78458698 +MISC metadata.xml 336 BLAKE2B 4b5933e24e3e9450dde5da099185dcdf3afb5916b55cffa7c2f3f6fac77e439197cbe4ba529a87f83442d8f87d238e8abef06dc052ce9a62659060ffea9fdb47 SHA512 9910fd10ebbc395b9c330774b74798c9ffdba3bb368347658380a22e01d6dc9d1961ea50fbfb4a904c9db84b94c713c054e418a7294425b86ff41a607fd3e310 diff --git a/dev-python/uv/files/uv-0.1.13-skip-tests.patch b/dev-python/uv/files/uv-0.1.13-skip-tests.patch new file mode 100644 index 000000000000..5dccfe525f81 --- /dev/null +++ b/dev-python/uv/files/uv-0.1.13-skip-tests.patch @@ -0,0 +1,48 @@ +diff --git a/crates/uv/tests/pip_compile_scenarios.rs b/crates/uv/tests/pip_compile_scenarios.rs +index 2cbece6d..9b785300 100644 +--- a/crates/uv/tests/pip_compile_scenarios.rs ++++ b/crates/uv/tests/pip_compile_scenarios.rs +@@ -118,3 +118,2 @@ fn requires_incompatible_python_version_compatible_override() -> Result<()> { + /// ``` +-#[test] + fn requires_compatible_python_version_incompatible_override() -> Result<()> { +diff --git a/crates/uv/tests/pip_install_scenarios.rs b/crates/uv/tests/pip_install_scenarios.rs +index e0ad34ec..87bff298 100644 +--- a/crates/uv/tests/pip_install_scenarios.rs ++++ b/crates/uv/tests/pip_install_scenarios.rs +@@ -2369,3 +2369,2 @@ fn requires_python_version_greater_than_current() { + /// ``` +-#[test] + fn requires_python_version_greater_than_current_patch() { +diff --git a/crates/uv/tests/pip_list.rs b/crates/uv/tests/pip_list.rs +index 71bdf344..b80fea5f 100644 +--- a/crates/uv/tests/pip_list.rs ++++ b/crates/uv/tests/pip_list.rs +@@ -95,3 +95,2 @@ fn single_no_editable() -> Result<()> { + +-#[test] + fn editable() -> Result<()> { +@@ -197,3 +196,2 @@ fn editable() -> Result<()> { + +-#[test] + fn editable_only() -> Result<()> { +@@ -328,3 +326,2 @@ fn editable_only() -> Result<()> { + +-#[test] + fn exclude() -> Result<()> { +diff --git a/crates/uv/tests/pip_sync.rs b/crates/uv/tests/pip_sync.rs +index bcb1fd55..b68787db 100644 +--- a/crates/uv/tests/pip_sync.rs ++++ b/crates/uv/tests/pip_sync.rs +@@ -1440,3 +1440,2 @@ fn install_git_source_dist_cached() -> Result<()> { + /// Check that we show the right messages on cached, registry source distribution installs. +-#[test] + fn install_registry_source_dist_cached() -> Result<()> { +diff --git a/crates/uv/tests/venv.rs b/crates/uv/tests/venv.rs +index ea3c213f..c6ed2233 100644 +--- a/crates/uv/tests/venv.rs ++++ b/crates/uv/tests/venv.rs +@@ -340,3 +340,2 @@ fn create_venv_unknown_python_patch() -> Result<()> { + +-#[test] + fn create_venv_python_patch() -> Result<()> { diff --git a/dev-python/uv/metadata.xml b/dev-python/uv/metadata.xml new file mode 100644 index 000000000000..0aedc2ee9faa --- /dev/null +++ b/dev-python/uv/metadata.xml @@ -0,0 +1,11 @@ + + + + + python@gentoo.org + + + astral-sh/uv + uv + + diff --git a/dev-python/uv/uv-0.1.13.ebuild b/dev-python/uv/uv-0.1.13.ebuild new file mode 100644 index 000000000000..11c9289c98f5 --- /dev/null +++ b/dev-python/uv/uv-0.1.13.ebuild @@ -0,0 +1,96 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" + +declare -A GIT_CRATES=( + [async_zip]='https://github.com/charliermarsh/rs-async-zip;d76801da0943de985254fc6255c0e476b57c5836;rs-async-zip-%commit%' + [pubgrub]='https://github.com/zanieb/pubgrub;aab132a3d4d444dd8dd41d8c4e605abd69dacfe1;pubgrub-%commit%' +) + +inherit cargo check-reqs + +DESCRIPTION="A Python package installer and resolver, written in Rust" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv/ +" +# pypi sdist misses scripts/, needed for tests +SRC_URI=" + https://github.com/astral-sh/uv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://dev.gentoo.org/~mgorny/dist/${P}-crates.tar.xz + " +fi + +# most of the code +LICENSE="|| ( Apache-2.0 MIT )" +# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT + MPL-2.0 Unicode-DFS-2016 +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +BDEPEND=" + test? ( + dev-lang/python:3.8 + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + ) +" + +PATCHES=( + # skip broken tests: + # - requiring pinned CPython versions (3.8.12, 3.11.7, 3.12.1) + # - requiring specific terminal width (COLUMNS don't seem to work) + # - other (perhaps failing because of other skipped tests?) + "${FILESDIR}/uv-0.1.13-skip-tests.patch" +) + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + cd crates/uv || die + cargo_src_test +} + +src_install() { + cd crates/uv || die + cargo_src_install +} -- cgit v1.2.3