dev-python/gitlabform: Version bump to 1.0.7
authorManuel Rüger <mrueg@gentoo.org>
Tue, 22 Jan 2019 14:13:07 +0000 (15:13 +0100)
committerManuel Rüger <mrueg@gentoo.org>
Tue, 22 Jan 2019 14:13:07 +0000 (15:13 +0100)
Package-Manager: Portage-2.3.57, Repoman-2.3.12
Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
dev-python/gitlabform/Manifest
dev-python/gitlabform/gitlabform-1.0.7.ebuild [new file with mode: 0644]

index b8ee6fb302a5f45b5fd8a0c86ed6bac182343eee..db060d31f9eac516f549d92f8e66048e69dc63f6 100644 (file)
@@ -1,2 +1,3 @@
 DIST gitlabform-1.0.3.tar.gz 19248 BLAKE2B 6ed3c38173e6202b5c76061416e5e4508be91ee8efebbe9af0d3131d3500fdcf79fab5caadca07076cb24a69fe3d5ac796418a31f00dd9b8de2c4de9b2340bd1 SHA512 8e79f584af9c5dadba0c1b92cf44214695f07e8e2e4eb1c81632c2aadfee7849d5e65c8a0f8f358864a34dce4f059570eda378db8700fae2c3b443d1af785c21
 DIST gitlabform-1.0.4.tar.gz 19396 BLAKE2B ef4b10e2d8ed7cc58c51c21a8ebbbf86fce4e29c2bfd6b7723f1d8f3cc6f1b873abaa73b5cdfd4ab8beb91c5d65b0a58463fb1b2865b9870511adc643a118fd0 SHA512 26e1038c53f6da871464c1e81b834742a8b83d042e9dc42829fb1633106a7ca400971df8a9e24697cfcca9097c57478a9b97421ca5013d3565c33330d9c8637e
+DIST gitlabform-1.0.7.tar.gz 19416 BLAKE2B f7b71de93a2fb524bcdb0a4899d82bfbae1f0dab2d263483539d9d18b5d46af04e0099dd9d1ff6ea0b00e5fb966541bba595f5a19846480ec1704450b0023972 SHA512 a3ee818aef6f792a1295eef0d3edd43eb7a46360ed2155fc459ee60dc3ea28b5b15fd0fd2a9c9ccd38deb385f8e37767202c23c2b885a5c2d6325faa5071443b
diff --git a/dev-python/gitlabform/gitlabform-1.0.7.ebuild b/dev-python/gitlabform/gitlabform-1.0.7.ebuild
new file mode 100644 (file)
index 0000000..34dcba4
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Easy configuration as code tool for GitLab using config in plain YAML"
+HOMEPAGE="https://github.com/egnyte/gitlabform"
+SRC_URI="https://github.com/egnyte/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="
+       >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}]
+       >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
+"
+DEPEND="
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       test? (
+               ${RDEPEND}
+               dev-python/pytest[${PYTHON_USEDEP}]
+       )
+"
+
+python_prepare_all() {
+       sed -i -e "/pypandoc/d" -e "/long_description/d" setup.py || die
+       distutils-r1_python_prepare_all
+}
+
+python_test() {
+       pytest -vv || die "Tests failed with ${EPYTHON}"
+}