diff options
Diffstat (limited to 'dev-python/wrapt')
| -rw-r--r-- | dev-python/wrapt/Manifest | 5 | ||||
| -rw-r--r-- | dev-python/wrapt/metadata.xml | 15 | ||||
| -rw-r--r-- | dev-python/wrapt/wrapt-2.1.2.ebuild | 39 | ||||
| -rw-r--r-- | dev-python/wrapt/wrapt-2.2.0.ebuild | 40 | ||||
| -rw-r--r-- | dev-python/wrapt/wrapt-2.2.1.ebuild | 40 |
5 files changed, 139 insertions, 0 deletions
diff --git a/dev-python/wrapt/Manifest b/dev-python/wrapt/Manifest new file mode 100644 index 000000000000..36abefb4dab4 --- /dev/null +++ b/dev-python/wrapt/Manifest @@ -0,0 +1,5 @@ +DIST wrapt-2.1.2.tar.gz 81678 BLAKE2B f7fc45f31b8077d6d97c14c1f649437e0f1da7537769d369d427edede0ba1b84c8c07e6de9ded8088f29f2fb774272186d0f9b707e6b2bef650dc5f78444d852 SHA512 97f1af4cabfd7a4cfabfaf36d26d1afc577747f18946226fbb80256e13c55302b746005e01720e874d46d536826c83e9234544c98f8dd1ecd3c9a091113da808 +DIST wrapt-2.2.0.tar.gz 125173 BLAKE2B b63e31566e4ec56ee4c850665b6e077fd048a0561e3dfec12c8ceaf9459d541aafecede0a6693085c47ab4d00c95536574d5cf999b6d32a6b944eb1a0fd5a614 SHA512 e2591faaac0d3ec605554d2ae9b6b60a8b894369aaddbad42ecd8bd7c218d6de254b9f17cdc19f6f367aad4cf9f396d30d7cd435997d3e64d2522cfd00ae250a +DIST wrapt-2.2.0.tar.gz.provenance 9793 BLAKE2B cefe8e715ada5f02eb3036ac8e67be4d73137f5a812a4cbaae5a7f84b956e133d7113c79615fd9c13562bacd0885e9acc22376347d1ecf490a227f7191994d17 SHA512 658073665694128520d5477536c41056d00ea98fcfa0bf4213b00cf81b1376e344ef547fbb54944d5ec4b454ca84b64b1d986109d3c94b0e7117d7e60a536255 +DIST wrapt-2.2.1.tar.gz 127620 BLAKE2B ff7bc0478d1e780ed059eba5af5f2c40c2399dcfbb331850ed2c19ed516a5753a273e0b50bc4a05f95efd3a0ba36743455d38a0744893e4b4c76c8d1150b232d SHA512 fb7952f8931b28dcfe7c10d545657af9f369f60b96defbeb0bcda0fc2b17068fbeb38fc5395d1908091c2ebf392467b42285dfc28355b8fe92d8865515590915 +DIST wrapt-2.2.1.tar.gz.provenance 9958 BLAKE2B 2115dcad4d151dc9d10a2f8a0c16c9cf2ef94ebedc1d44c680019b8ad099f9fb14cc88624a01222809f8e416bcd56ad5478c6b450480881dfce95d50daaf4e2a SHA512 2efed0a393170f9520507ecf57ec5877fb1bc2ff8f783e81d259d1711e480dd827cc4717686b269bc4f3a1a59c7522bf7c0f85e94ddcfed5683497525821f9f8 diff --git a/dev-python/wrapt/metadata.xml b/dev-python/wrapt/metadata.xml new file mode 100644 index 000000000000..facac610dae2 --- /dev/null +++ b/dev-python/wrapt/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <use> + <flag name="native-extensions"> + Compiles native C extensions (speedups, instead of using python + fallback code). + </flag> + </use> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/wrapt/wrapt-2.1.2.ebuild b/dev-python/wrapt/wrapt-2.1.2.ebuild new file mode 100644 index 000000000000..d50812dc8a45 --- /dev/null +++ b/dev-python/wrapt/wrapt-2.1.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +MY_P=${P/_} +DESCRIPTION="Module for decorators, wrappers and monkey patching" +HOMEPAGE=" + https://github.com/GrahamDumpleton/wrapt/ + https://pypi.org/project/wrapt/ +" + +LICENSE="BSD" +SLOT="0" +if [[ ${PV} != *_rc* ]]; then + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" +fi +IUSE="+native-extensions" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # skip mypy tests, they are fragile + rm -r tests/mypy || die +} + +python_compile() { + local -x WRAPT_INSTALL_EXTENSIONS=$(usex native-extensions true false) + distutils-r1_python_compile +} diff --git a/dev-python/wrapt/wrapt-2.2.0.ebuild b/dev-python/wrapt/wrapt-2.2.0.ebuild new file mode 100644 index 000000000000..c0b172cb4e24 --- /dev/null +++ b/dev-python/wrapt/wrapt-2.2.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/GrahamDumpleton/wrapt +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +MY_P=${P/_} +DESCRIPTION="Module for decorators, wrappers and monkey patching" +HOMEPAGE=" + https://github.com/GrahamDumpleton/wrapt/ + https://pypi.org/project/wrapt/ +" + +LICENSE="BSD" +SLOT="0" +if [[ ${PV} != *_rc* ]]; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +fi +IUSE="+native-extensions" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # skip mypy tests, they are fragile + rm -r tests/mypy || die +} + +python_compile() { + local -x WRAPT_INSTALL_EXTENSIONS=$(usex native-extensions true false) + distutils-r1_python_compile +} diff --git a/dev-python/wrapt/wrapt-2.2.1.ebuild b/dev-python/wrapt/wrapt-2.2.1.ebuild new file mode 100644 index 000000000000..c0b172cb4e24 --- /dev/null +++ b/dev-python/wrapt/wrapt-2.2.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/GrahamDumpleton/wrapt +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +MY_P=${P/_} +DESCRIPTION="Module for decorators, wrappers and monkey patching" +HOMEPAGE=" + https://github.com/GrahamDumpleton/wrapt/ + https://pypi.org/project/wrapt/ +" + +LICENSE="BSD" +SLOT="0" +if [[ ${PV} != *_rc* ]]; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +fi +IUSE="+native-extensions" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # skip mypy tests, they are fragile + rm -r tests/mypy || die +} + +python_compile() { + local -x WRAPT_INSTALL_EXTENSIONS=$(usex native-extensions true false) + distutils-r1_python_compile +} |
