diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-12-22 13:05:36 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-12-24 11:20:57 +0100 |
commit | a9c7ab9e889fca7f467c018f1f005876ba544d9c (patch) | |
tree | 3a4a99a447609e817f89efa30126ff05ec0fc5d0 /dev-python/pyproject2setuppy | |
parent | dev-python/backports-tempfile: Add pypy (diff) | |
download | gentoo-a9c7ab9e889fca7f467c018f1f005876ba544d9c.tar.gz gentoo-a9c7ab9e889fca7f467c018f1f005876ba544d9c.tar.bz2 gentoo-a9c7ab9e889fca7f467c018f1f005876ba544d9c.zip |
dev-python/pyproject2setuppy: New package
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyproject2setuppy')
-rw-r--r-- | dev-python/pyproject2setuppy/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyproject2setuppy/metadata.xml | 11 | ||||
-rw-r--r-- | dev-python/pyproject2setuppy/pyproject2setuppy-2.ebuild | 32 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/pyproject2setuppy/Manifest b/dev-python/pyproject2setuppy/Manifest new file mode 100644 index 000000000000..d90c9c3a4a5b --- /dev/null +++ b/dev-python/pyproject2setuppy/Manifest @@ -0,0 +1 @@ +DIST pyproject2setuppy-2.tar.gz 7589 BLAKE2B 21abc62707b590e5676b53500094887f7768082ea3c6d89b2d447461c219cda726de59aa299ebb960a0767935ece06abdf4729e4dd22d3bb003370d95ce19858 SHA512 684b292a6c2880f756ee7a4ba34a674bdb12f27952673cda9bc488f90101b2d1cd134e240b924148044fb6d02c5b7a5068fb7a857fef3f0c3f65f91e14c0ca4a diff --git a/dev-python/pyproject2setuppy/metadata.xml b/dev-python/pyproject2setuppy/metadata.xml new file mode 100644 index 000000000000..22e0d6d87f61 --- /dev/null +++ b/dev-python/pyproject2setuppy/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/dev-python/pyproject2setuppy/pyproject2setuppy-2.ebuild b/dev-python/pyproject2setuppy/pyproject2setuppy-2.ebuild new file mode 100644 index 000000000000..dc18db8785db --- /dev/null +++ b/dev-python/pyproject2setuppy/pyproject2setuppy-2.ebuild @@ -0,0 +1,32 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=manual +PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} pypy{,3} ) + +inherit distutils-r1 + +DESCRIPTION="Cheap setup.py hack to install flit & poetry-based projects" +HOMEPAGE="https://github.com/mgorny/pyproject2setuppy" +SRC_URI=" + https://github.com/mgorny/pyproject2setuppy/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}]" +BDEPEND="${RDEPEND} + test? ( + $(python_gen_cond_dep ' + dev-python/backports-tempfile[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + ' -2) + )" + +distutils_enable_tests pytest |