diff options
Diffstat (limited to 'dev-python/jaraco-context')
-rw-r--r-- | dev-python/jaraco-context/Manifest | 8 | ||||
-rw-r--r-- | dev-python/jaraco-context/jaraco-context-5.3.0.ebuild | 2 | ||||
-rw-r--r-- | dev-python/jaraco-context/jaraco-context-6.0.0.ebuild (renamed from dev-python/jaraco-context/jaraco-context-5.1.0.ebuild) | 21 | ||||
-rw-r--r-- | dev-python/jaraco-context/jaraco-context-6.0.1.ebuild | 62 |
4 files changed, 86 insertions, 7 deletions
diff --git a/dev-python/jaraco-context/Manifest b/dev-python/jaraco-context/Manifest index ea353c79bd39..cfbdfd58c491 100644 --- a/dev-python/jaraco-context/Manifest +++ b/dev-python/jaraco-context/Manifest @@ -1,5 +1,7 @@ -DIST jaraco.context-5.1.0.tar.gz 11626 BLAKE2B c6ac691c6493e0aed5d606784f8418e55fb0c6c8094aa75251ffb12008fb9b4fbfe0912e6ef316d7799d2c0f55be6ba542202f6b8b2bc93afa3a79da4224d35f SHA512 b92c72947060e2219c172c43104055d026f66b119676fcfa31dff34640539d34376b61d209291fffeb558e6051fb92a2a34390fbd3a72f87ee15c5926cb387e5 DIST jaraco.context-5.3.0.tar.gz 13345 BLAKE2B d2f429335ea80a6b50ea9574adc45c25c0fc78e8ebb5edde218bcbbe7a2b27ae6b5c17453e71904240d0d873ebef36f7c7aeda4424d3fea2dd9aaf01af6fb4c5 SHA512 f63bf272c45ff5c43499621651b78841259040ac98d67c9db75fadebb1c497c1156e05f23bf7c91df3e91f1e070acb9f7dc665e7b242ba7b1ac1cf99a619494d -EBUILD jaraco-context-5.1.0.ebuild 1300 BLAKE2B a5d616abfd9f7395fbaa66295908f8a3927678a71ecef215042091dcee942640064af3805f16ab83fbd056883168ffed8acc4f9787795058bbc42b879c18d74b SHA512 a2d03fd8f0f5a58b585736bcfa31540298dd4f6086891c91d70ed2d38d3aba99585bbe5f37a5ef57b2e616a37557d6ca6e08eaf23bde7b9dc6f2df920a6a85f2 -EBUILD jaraco-context-5.3.0.ebuild 1394 BLAKE2B dadac1d235797c654636eded1773844f1b6a95ac274085434096a93173ee7985a9392d897096a8f50c8f8f819503413955be056dd65e8da704bfd34777655f24 SHA512 d0aa8a330d2ad528e65de8b8d288f8977246ca10f31036bb6b845fa36c6fa8b2334e4609de2ee1fd31f231ab81be9dee092baa38de6d4f4ac11ba18823cb340e +DIST jaraco_context-6.0.0.tar.gz 14118 BLAKE2B 96901d173426e8bad5755c0e21ba789daf4217a7ed94efb81fdb3daf2d9a13f5875a17fa20a5193bb6a7a7c772b2b77e3b85a465039bdefa6231075a45133fda SHA512 a831ee8b732fc2b40e7de81d390fb5869317a127e5999a1c4f00f3ab81e04d4021733816e813c1ddbc1370540aca6205353c7a024f60d6f0dc59545abe505fa6 +DIST jaraco_context-6.0.1.tar.gz 13912 BLAKE2B e249916d41e936c4f261e5e4330f3d6b26b159772a1284521168313f41ef296ca82930e46837ae8ea7c895f7471bc039d5b42a8d4eceb0718056ff4b82d79cba SHA512 5711f581a616a18f7b7dbac65550255c7eecfae39df04b675817b16fbc5d61b833617d853c40f0b910c0ba5d144baf4c4b2add155c9b91001209b27da594a801 +EBUILD jaraco-context-5.3.0.ebuild 1429 BLAKE2B 396b966d07a2b522424df1ca6ec231f6182da7488c5c537bc2ffc25942f55d1e016570e74a611c097ba319125630b46d4d510e59d4dc1fc1bf46af6e5ec5c243 SHA512 e5294b488f6d74c3766ae22e7401c2c49c21357f5b6ae358b30f45a76d7466cab1511343f602f80eab60feb1f88970651293130571b54f0a3f5a40e5a72a6379 +EBUILD jaraco-context-6.0.0.ebuild 1508 BLAKE2B ae0d12d198eff46e483ffeb08c2816ae629d92cfc52792292a9eea669973e772681dc518375391fe85bba6d23c0f9269a985849e87009edf5ff5e1316eda4157 SHA512 b8fcbd9448bbe15bb4e7fb66203310fee555a1c0ddc391c79d577c80537e102f57c73813ca448ae5f0901b1a49c09f8d7a335583aac005ec6350c691a175f869 +EBUILD jaraco-context-6.0.1.ebuild 1508 BLAKE2B ae0d12d198eff46e483ffeb08c2816ae629d92cfc52792292a9eea669973e772681dc518375391fe85bba6d23c0f9269a985849e87009edf5ff5e1316eda4157 SHA512 b8fcbd9448bbe15bb4e7fb66203310fee555a1c0ddc391c79d577c80537e102f57c73813ca448ae5f0901b1a49c09f8d7a335583aac005ec6350c691a175f869 MISC metadata.xml 403 BLAKE2B 32344da5308b2bd5eef6ac6efc6299869f4f82ab67b51a23666eef697a803bcc94993ed67f3047e82ba5500d1b0c49ec1f9b32112855c21aa4b3015c09fa0144 SHA512 13dec82eb1581116d8800e60c99c328aa1bb409fec83044fa5e02838008e4bf5d81bc1defeb59bc353ff4032600bdc9213559bdb745fd6571f53e9edd9dd6737 diff --git a/dev-python/jaraco-context/jaraco-context-5.3.0.ebuild b/dev-python/jaraco-context/jaraco-context-5.3.0.ebuild index 5ace6d25e305..8cb625122fb3 100644 --- a/dev-python/jaraco-context/jaraco-context-5.3.0.ebuild +++ b/dev-python/jaraco-context/jaraco-context-5.3.0.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/jaraco-context/jaraco-context-5.1.0.ebuild b/dev-python/jaraco-context/jaraco-context-6.0.0.ebuild index ca0ae619ca68..bb3bb1f1507b 100644 --- a/dev-python/jaraco-context/jaraco-context-5.1.0.ebuild +++ b/dev-python/jaraco-context/jaraco-context-6.0.0.ebuild @@ -5,9 +5,8 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYPI_NO_NORMALIZE=1 PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -19,10 +18,26 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/backports-tarfile[${PYTHON_USEDEP}] + ' 3.10 3.11) +" +BDEPEND=" + test? ( + dev-python/portend[${PYTHON_USEDEP}] + ) +" distutils_enable_tests pytest +EPYTEST_DESELECT=( + # Internet + jaraco/context/__init__.py::jaraco.context.repo_context +) + src_configure() { grep -q 'build-backend = "setuptools' pyproject.toml || die "Upstream changed build-backend, recheck" diff --git a/dev-python/jaraco-context/jaraco-context-6.0.1.ebuild b/dev-python/jaraco-context/jaraco-context-6.0.1.ebuild new file mode 100644 index 000000000000..bb3bb1f1507b --- /dev/null +++ b/dev-python/jaraco-context/jaraco-context-6.0.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Context managers by jaraco" +HOMEPAGE=" + https://github.com/jaraco/jaraco.context/ + https://pypi.org/project/jaraco.context/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/backports-tarfile[${PYTHON_USEDEP}] + ' 3.10 3.11) +" +BDEPEND=" + test? ( + dev-python/portend[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internet + jaraco/context/__init__.py::jaraco.context.repo_context +) + +src_configure() { + grep -q 'build-backend = "setuptools' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "jaraco.context" + version = "${PV}" + description = "Context managers by jaraco" + EOF +} + +python_install() { + distutils-r1_python_install + # rename to workaround a bug in pkg_resources + # https://bugs.gentoo.org/834522 + mv "${D}$(python_get_sitedir)"/jaraco{_,.}context-${PV}.dist-info || die +} |