diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/pluggy | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/pluggy')
| -rw-r--r-- | dev-python/pluggy/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/pluggy/files/pluggy-0.12.0-strip-setuptools_scm.patch | 41 | ||||
| -rw-r--r-- | dev-python/pluggy/metadata.xml | 16 | ||||
| -rw-r--r-- | dev-python/pluggy/pluggy-0.11.0.ebuild | 29 | ||||
| -rw-r--r-- | dev-python/pluggy/pluggy-0.13.1.ebuild | 24 |
5 files changed, 112 insertions, 0 deletions
diff --git a/dev-python/pluggy/Manifest b/dev-python/pluggy/Manifest new file mode 100644 index 000000000000..947f88620bd6 --- /dev/null +++ b/dev-python/pluggy/Manifest @@ -0,0 +1,2 @@ +DIST pluggy-0.11.0.tar.gz 56897 BLAKE2B 2d40ca953fa0ead7516dd81007ef6f1f88b0ebe45512b031fda9ed69c953bca08109f157676ba2ed545ffb1f8f7bb18fa1b8532635d6fc929c62bf0b5de45128 SHA512 8808f5015fa6f33fcb07047c644706bf3acceed1e107dd617395e61aa9765a45e3a641e49c610ab817ebaa2c4f3b32a15bf347579206e979fe6b844ba2f684b5 +DIST pluggy-0.13.1.tar.gz 57962 BLAKE2B aa0a3eec06c988a727bc15511313f12a08bde65da55bcc5e7547a654e3ca8a34c12dfa72166b6a37b524972730f08454b6a0446e071d2710396e868ae3a77151 SHA512 eb747ff341cedacbd90eb20e22ad3d1ddf5588056f14d069f56331f4141a15b7eccaee23ea196d2f4906964ddb77a79b156bbf3ef8c8083e9952c55d13d55f3e diff --git a/dev-python/pluggy/files/pluggy-0.12.0-strip-setuptools_scm.patch b/dev-python/pluggy/files/pluggy-0.12.0-strip-setuptools_scm.patch new file mode 100644 index 000000000000..6de5905f1103 --- /dev/null +++ b/dev-python/pluggy/files/pluggy-0.12.0-strip-setuptools_scm.patch @@ -0,0 +1,41 @@ +From dc8f1f4371f20ce0f635b46ab0976d6d76ca0c26 Mon Sep 17 00:00:00 2001 +From: Georgy Yakovlev <gyakovlev@gentoo.org> +Date: Thu, 25 Jul 2019 18:18:59 -0700 +Subject: [PATCH] strip setuptools_scm + +--- + setup.py | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +diff --git a/setup.py b/setup.py +index 0f26fa0..9194143 100644 +--- a/setup.py ++++ b/setup.py +@@ -1,4 +1,5 @@ + from setuptools import setup ++import os + + classifiers = [ + "Development Status :: 4 - Beta", +@@ -23,14 +24,16 @@ with open("README.rst", "rb") as fd: + with open("CHANGELOG.rst", "rb") as fd: + long_description += "\n\n" + fd.read().decode("utf-8") + ++with open("src/pluggy/_version.py", 'wt') as fp: ++ fp.write('version = "{}"'.format(os.environ['PV'])) ++ + + def main(): + setup( + name="pluggy", + description="plugin and hook calling mechanisms for python", + long_description=long_description, +- use_scm_version={"write_to": "src/pluggy/_version.py"}, +- setup_requires=["setuptools-scm"], ++ version=os.environ['PV'], + license="MIT license", + platforms=["unix", "linux", "osx", "win32"], + author="Holger Krekel", +-- +2.22.0 + diff --git a/dev-python/pluggy/metadata.xml b/dev-python/pluggy/metadata.xml new file mode 100644 index 000000000000..a7543b08f32f --- /dev/null +++ b/dev-python/pluggy/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">pluggy</remote-id> + <maintainer status="unknown"> + <email>holger@merlinux.eu</email> + <name>Holger Krekel</name> + </maintainer> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/pluggy/pluggy-0.11.0.ebuild b/dev-python/pluggy/pluggy-0.11.0.ebuild new file mode 100644 index 000000000000..4e8e7e501ed3 --- /dev/null +++ b/dev-python/pluggy/pluggy-0.11.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{6,7}} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="plugin and hook calling mechanisms for python" +HOMEPAGE="https://pluggy.readthedocs.io/ https://github.com/pytest-dev/pluggy https://pypi.org/project/pluggy/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="" +DEPEND="${RDEPEND} + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + PYTHONPATH="${BUILD_DIR}/lib" pytest -v || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/pluggy/pluggy-0.13.1.ebuild b/dev-python/pluggy/pluggy-0.13.1.ebuild new file mode 100644 index 000000000000..f0141a9595e6 --- /dev/null +++ b/dev-python/pluggy/pluggy-0.13.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="plugin and hook calling mechanisms for python" +HOMEPAGE="https://pluggy.readthedocs.io/ https://github.com/pytest-dev/pluggy https://pypi.org/project/pluggy/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86" + +RDEPEND="$(python_gen_cond_dep \ + 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' -2 python3_{5,6,7} pypy3)" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/${PN}"-0.12.0-strip-setuptools_scm.patch ) + +distutils_enable_tests pytest |
