summaryrefslogtreecommitdiff
path: root/dev-python/intreehooks
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
commit7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch)
tree4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /dev-python/intreehooks
parentb284a3168fa91a038925d2ecf5e4791011ea5e7d (diff)
gentoo resync : 15.12.2019
Diffstat (limited to 'dev-python/intreehooks')
-rw-r--r--dev-python/intreehooks/Manifest3
-rw-r--r--dev-python/intreehooks/intreehooks-1.0.ebuild40
-rw-r--r--dev-python/intreehooks/metadata.xml12
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/intreehooks/Manifest b/dev-python/intreehooks/Manifest
new file mode 100644
index 000000000000..212bbd990d60
--- /dev/null
+++ b/dev-python/intreehooks/Manifest
@@ -0,0 +1,3 @@
+DIST intreehooks-1.0.tar.gz 2701 BLAKE2B 2c82bae05cf3fc3bde13e8dd2ffb9d1ef79edc6711b5038f6f9b3dddd863492be24a425bf848c9868ecf730f813243fb5fa50ebfad52b44341be18e72727f195 SHA512 5a020dd6bd7994eca5f476618f57e2d86567756fae74f6fa50b6fbc96accfe8db910f3175bafa3ce85f37b05edc05ca1042dcec78407a241cfaffc0a0e997f4e
+EBUILD intreehooks-1.0.ebuild 872 BLAKE2B bb3d9072b269035e3daa90bb4a79201508973860404ef327b4447f14589e43a0de8e845ec38643b1faf7e9f7df13395c72453f75a8121f453dd550a1a499bf78 SHA512 53e036383980a0c7875cd53590ea09bd1564b8f8ffb64ade769e1789da993a6783bdaf9d539a75a4bc0b70b4d68e41f34b6f0a6453a457fa33e5a69d680bdf2e
+MISC metadata.xml 396 BLAKE2B 8d8701c70f58552593bad0d44e6408b468d08af5d9b9bb6a2ef893a76e1f63abf805d3398780d696f97cee05f6309952347c68a9e3a7e50024ac4c504a082340 SHA512 a683537e004fa251701bd397f45f00a79cd39b20a94af709893c571066ceecd2a4b120641454a8311c6a12fbc9a7c8d1f6df3050e900db393a17b50e59e79274
diff --git a/dev-python/intreehooks/intreehooks-1.0.ebuild b/dev-python/intreehooks/intreehooks-1.0.ebuild
new file mode 100644
index 000000000000..a2471a84947a
--- /dev/null
+++ b/dev-python/intreehooks/intreehooks-1.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} )
+inherit distutils-r1
+
+DESCRIPTION="Load a PEP 517 backend from inside the source tree"
+HOMEPAGE="https://pypi.org/project/intreehooks https://github.com/takluyver/intreehooks"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+RDEPEND="
+ dev-python/toml[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # replace pytoml with toml
+ sed -e 's:pytoml:toml:' \
+ -i setup.py intreehooks.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+ local -a DOCS=( README.rst )
+ use examples && dodoc -r examples
+
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/intreehooks/metadata.xml b/dev-python/intreehooks/metadata.xml
new file mode 100644
index 000000000000..34d6356499c1
--- /dev/null
+++ b/dev-python/intreehooks/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chutzpah@gentoo.org</email>
+ <name>Patrick McLean</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">intreehooks</remote-id>
+ <remote-id type="github">takluyver/intreehooks</remote-id>
+ </upstream>
+</pkgmetadata>