summaryrefslogtreecommitdiff
path: root/dev-python/pyproject2setuppy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
commit21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch)
treee1810a4b135afce04b34862ef0fab2bfaeb8aeca /dev-python/pyproject2setuppy
parent7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff)
gentoo resync : 15.01.2020
Diffstat (limited to 'dev-python/pyproject2setuppy')
-rw-r--r--dev-python/pyproject2setuppy/Manifest3
-rw-r--r--dev-python/pyproject2setuppy/metadata.xml11
-rw-r--r--dev-python/pyproject2setuppy/pyproject2setuppy-2.ebuild32
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/pyproject2setuppy/Manifest b/dev-python/pyproject2setuppy/Manifest
new file mode 100644
index 000000000000..f7dfe837fe78
--- /dev/null
+++ b/dev-python/pyproject2setuppy/Manifest
@@ -0,0 +1,3 @@
+DIST pyproject2setuppy-2.tar.gz 7589 BLAKE2B 21abc62707b590e5676b53500094887f7768082ea3c6d89b2d447461c219cda726de59aa299ebb960a0767935ece06abdf4729e4dd22d3bb003370d95ce19858 SHA512 684b292a6c2880f756ee7a4ba34a674bdb12f27952673cda9bc488f90101b2d1cd134e240b924148044fb6d02c5b7a5068fb7a857fef3f0c3f65f91e14c0ca4a
+EBUILD pyproject2setuppy-2.ebuild 761 BLAKE2B b550dc24e84fe62ec9d141912dd5a4632e533537060e7539b76490d0ec762210a650070d2ec9811d81b9a0728eafa4abd530efad64ccab15aeb404ac91b4079d SHA512 3a3656b7aaaf4c9ae4e13457898a1e0d5dc2042c19cb8eee0cae20d20e211d9f0d5ba39e6fedd7ea3d885462d62b8e7497097980692a7f1e07f5441ce3a267b8
+MISC metadata.xml 326 BLAKE2B 465cb8f46170cfced4ed1ba3af61210b58fba1c1fe0af7f5f9b5d498f1a32993ff19f860231ac84b5f6661a67cc7837aa8a19b81afc108cd44e5d836f3fb93e3 SHA512 19656915996f8905a7c2ea398da098d5ae704445273471730c82c3bc391d4662a6e7fe8bf9b416ce23d3c171008d93bd6b462fe278c7bef64b304b2e467d894a
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..e93f5bdf05f7
--- /dev/null
+++ b/dev-python/pyproject2setuppy/pyproject2setuppy-2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2019-2020 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_{6,7,8}} pypy3 )
+
+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