dev-python/gitlabform: Version bump to 1.5.0
authorManuel Rüger <mrueg@gentoo.org>
Thu, 6 Jun 2019 22:29:11 +0000 (00:29 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Thu, 6 Jun 2019 22:29:11 +0000 (00:29 +0200)
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
dev-python/gitlabform/Manifest
dev-python/gitlabform/gitlabform-1.5.0.ebuild [new file with mode: 0644]

index ab93709ff6ea131ab692cfb4c14ab3ee493a9b5b..c91c627ffe827d9e4c45c81c055aa795e7ef33ae 100644 (file)
@@ -1,2 +1,3 @@
 DIST gitlabform-1.0.7.tar.gz 19416 BLAKE2B f7b71de93a2fb524bcdb0a4899d82bfbae1f0dab2d263483539d9d18b5d46af04e0099dd9d1ff6ea0b00e5fb966541bba595f5a19846480ec1704450b0023972 SHA512 a3ee818aef6f792a1295eef0d3edd43eb7a46360ed2155fc459ee60dc3ea28b5b15fd0fd2a9c9ccd38deb385f8e37767202c23c2b885a5c2d6325faa5071443b
 DIST gitlabform-1.3.0.tar.gz 20066 BLAKE2B b4a158ac91140e1b26b75a85bf79b0978ffccf6095477b7238b93d14205ff6ce0c9dece951999bcdf938cb2470e2e24d48ecc2c307d31c7edb5214c90a95821d SHA512 9ded533fc9bb4cb910d3e46620afa6ab237db94678ddb045a526ce4e02da8f0dd2f4458597aa8a5732cc89bb1494db5f3179074c3103f862e47566af93c6a5ab
+DIST gitlabform-1.5.0.tar.gz 20583 BLAKE2B 670046f0dd8e366a7fd3cb34ee0df61a83b201c10b2859d69a9ae1e82878f6cd42214c1c816da02fd33262533db58aaf07cbe056802cd1ae72a3b5afd4796a51 SHA512 93985c542b6879eebc7b28c7b842252ee6464d526193999d8611e78e48189883b6e6a64a1f7d2a5079f40ed5814dc9b39200eac68dfe16039ae4c2ff7b2c06da
diff --git a/dev-python/gitlabform/gitlabform-1.5.0.ebuild b/dev-python/gitlabform/gitlabform-1.5.0.ebuild
new file mode 100644 (file)
index 0000000..b149c4c
--- /dev/null
@@ -0,0 +1,38 @@
+# 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}]
+       >=dev-python/jinja-2.10.1[${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}"
+}