diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
commit | d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch) | |
tree | 4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /dev-python/cerberus | |
parent | e748ba9741f6540f4675c23e3e37b73e822c13a4 (diff) |
gentoo resync : 15.06.2021
Diffstat (limited to 'dev-python/cerberus')
-rw-r--r-- | dev-python/cerberus/Manifest | 4 | ||||
-rw-r--r-- | dev-python/cerberus/cerberus-1.3.2.ebuild | 23 | ||||
-rw-r--r-- | dev-python/cerberus/files/cerberus-1.3.2_no-pytest-runner.patch | 13 | ||||
-rw-r--r-- | dev-python/cerberus/metadata.xml | 13 |
4 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/cerberus/Manifest b/dev-python/cerberus/Manifest new file mode 100644 index 000000000000..5b9c2c112859 --- /dev/null +++ b/dev-python/cerberus/Manifest @@ -0,0 +1,4 @@ +AUX cerberus-1.3.2_no-pytest-runner.patch 259 BLAKE2B 6cf56852d33703a9b2ccf8605849a0d23f3397156ab7704b25d98af6037824fcab48718a5f4dd00258765d37d210182d9cd3440685a964f5c15596196c837cc3 SHA512 eb28000c54bf2fb8f88f5df2fab3edb035d96f6360d3984d201eb7188f218c52c59f9008ac0f8df19ad47f909de8717c67841cc7b5c463f805406f567bd0028a +DIST cerberus-1.3.2.tar.gz 149344 BLAKE2B ce65f3c4c612f87562c28f913cac95c1c7af9b2dfa72955bce3f0e0459e4ff9024a126ceea4587e2c72cf606be2a249046a090a2e2d5e908bfe4b700ba5e9b92 SHA512 e9cfef5a936783eb0576afd3d23397dab38d8c88b6b43f98de0ad7e20739e5ff983eaf4ac769206adb7fe9692c651583f6a5f2bab263b81b8de96f45707c84fb +EBUILD cerberus-1.3.2.ebuild 549 BLAKE2B f557c694fa539fea27e62e7e26a5732fb3a6bdf25e1b5ba262a33e6b3e24790776a8204a62514799e33600cd5d4334b0262505dcd6d599125a8c70138bfecd94 SHA512 c8a9c5a74e1cf346dd1d3c40aad8cc221767218cb479135181a03eff495611ae61d62c7f4075057396cebe6e010db60c15c9b04437e6476e6ff5c7e210edf62f +MISC metadata.xml 394 BLAKE2B 9b5eba8ec3d0572fc1296f8559365a20159f104d6bbf0587f60877a21cda11fb1845fcc7fa4678e2bf20dd26e66e341342fbafa04014d19152dbc80afdf48bf0 SHA512 e908e1c8c3919f1f808bb44f0f4601cd9d131684b5028b5015fa43f55a82d559af7a1d82ec9b55c1902ed6c88ed7655c41485b96f358ebdbc8e2e2e5eefd781d diff --git a/dev-python/cerberus/cerberus-1.3.2.ebuild b/dev-python/cerberus/cerberus-1.3.2.ebuild new file mode 100644 index 000000000000..bb8115a7763d --- /dev/null +++ b/dev-python/cerberus/cerberus-1.3.2.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="A lightweight and extensible data-validation library for Python" +HOMEPAGE="https://docs.python-cerberus.org/" +SRC_URI="https://github.com/pyeve/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" + +PATCHES=( + "${FILESDIR}"/${PN}-1.3.2_no-pytest-runner.patch +) + +distutils_enable_tests pytest diff --git a/dev-python/cerberus/files/cerberus-1.3.2_no-pytest-runner.patch b/dev-python/cerberus/files/cerberus-1.3.2_no-pytest-runner.patch new file mode 100644 index 000000000000..b9216385d64c --- /dev/null +++ b/dev-python/cerberus/files/cerberus-1.3.2_no-pytest-runner.patch @@ -0,0 +1,13 @@ +--- a/setup.py ++++ b/setup.py +@@ -11,9 +11,7 @@ + LONG_DESCRIPTION = open("README.rst").read() + VERSION = "1.3.2" + +-setup_requires = ( +- ["pytest-runner"] if any(x in sys.argv for x in ("pytest", "test", "ptr")) else [] +-) ++setup_requires = [] + + + setup( diff --git a/dev-python/cerberus/metadata.xml b/dev-python/cerberus/metadata.xml new file mode 100644 index 000000000000..cb96bda4731d --- /dev/null +++ b/dev-python/cerberus/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>marecki@gentoo.org</email> + <name>Marek Szuba</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">pyeve/cerberus</remote-id> + <remote-id type="pypi">Cerberus</remote-id> + </upstream> +</pkgmetadata> |