summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-06-29 20:07:52 +0200
committerMichał Górny <mgorny@gentoo.org>2021-06-29 20:17:09 +0200
commit098b52d6daf9c3217247a11ff42ddfab23f0e808 (patch)
tree3dafa5735029e65e904bb10dad431edc0bc1d81e /dev-util/pkgdev
parentdev-python/astroid: Bump to 2.6.1 (diff)
downloadgentoo-098b52d6daf9c3217247a11ff42ddfab23f0e808.tar.gz
gentoo-098b52d6daf9c3217247a11ff42ddfab23f0e808.tar.bz2
gentoo-098b52d6daf9c3217247a11ff42ddfab23f0e808.zip
dev-util/pkgdev: Bump to 0.1.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-util/pkgdev')
-rw-r--r--dev-util/pkgdev/Manifest1
-rw-r--r--dev-util/pkgdev/pkgdev-0.1.7.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-util/pkgdev/Manifest b/dev-util/pkgdev/Manifest
index 9d58a90b9c40..5d113e950579 100644
--- a/dev-util/pkgdev/Manifest
+++ b/dev-util/pkgdev/Manifest
@@ -1,3 +1,4 @@
DIST pkgdev-0.1.2.tar.gz 32579 BLAKE2B 42ecd7403dcb49b256539e12c22a6bca72884bf55139c5f0972961fbebf4f976dedd3a4fac1186cc1d5af62d339ac7dd3eb20106ff1dcc7b8c264e1c4c53c3de SHA512 c224a054612fd6caa9c66855be9bb5ed439c3ac2abf5b32c4ac516d87fa4e345fc8bc328aa74b4fec44d7fd319322bb42af48f6dfdfff941e3b819a75b9fae9b
DIST pkgdev-0.1.5.tar.gz 54386 BLAKE2B 1e3b87cbae263dba5dbb46f6a5df95d1f2b76382e52bff10a445abcf9af7c965cadd6e0134c3cfdb550fcdd9c96e0f4f40f3f4d6d9097913ef3ba9f309885b98 SHA512 4617f5f2e15bd3833debf76fdf02cdb9bc10e27285e18ca5958e197ab89d7392731a7f5e3846e92764d90b643f38eb1834c8d0a724e934f623edd1675a705b9e
DIST pkgdev-0.1.6.tar.gz 55644 BLAKE2B 70c0c040ca277b108515d6c3fcbdecbf7ee20963bdc2d19218855a8261830f1509073e5a09d0daf6ccb6a276dd19401c9266d74e5c5c0b60ceb234a63779f38e SHA512 5f274d0ddbff0535862827e3e97d3378cc53c3fa2528e35ac4ef8c4bc3215de4eac2b62b2f2fc1c499f360a0594fecdb722613592ac86d01bef3f6abfc522c1f
+DIST pkgdev-0.1.7.tar.gz 55781 BLAKE2B 218842bbba75a0cc3d6005e75859ec679d2c03019c92e813c174554262f7d63bdfe1176faca102e91cfbec073d2197792c85b9c46318e6a86d7fa74d9780303a SHA512 bf68367e13298845c08089cad47a7ccd536bee43d6fb6993f3d0ba283331045032ab1b82d195cffe5368e844ea05ad8cee5b5cd248b69d18f021bb26a26145ff
diff --git a/dev-util/pkgdev/pkgdev-0.1.7.ebuild b/dev-util/pkgdev/pkgdev-0.1.7.ebuild
new file mode 100644
index 000000000000..eab93eeabd0b
--- /dev/null
+++ b/dev-util/pkgdev/pkgdev-0.1.7.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_IN_SOURCE_BUILD=1
+inherit distutils-r1
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/pkgcore/pkgdev.git"
+ inherit git-r3
+else
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~ppc64 ~riscv ~x64-macos"
+fi
+
+DESCRIPTION="Collection of tools for Gentoo development"
+HOMEPAGE="https://github.com/pkgcore/pkgdev"
+
+LICENSE="BSD MIT"
+SLOT="0"
+
+if [[ ${PV} == *9999 ]] ; then
+ # https://github.com/pkgcore/pkgdev/blob/main/requirements/dev.txt
+ RDEPEND="
+ ~dev-python/snakeoil-9999[${PYTHON_USEDEP}]
+ ~dev-util/pkgcheck-9999[${PYTHON_USEDEP}]
+ ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}]
+ "
+else
+ # https://github.com/pkgcore/pkgdev/blob/main/requirements/install.txt
+ RDEPEND="
+ >=dev-python/snakeoil-0.9.6[${PYTHON_USEDEP}]
+ >=dev-util/pkgcheck-0.10.0[${PYTHON_USEDEP}]
+ >=sys-apps/pkgcore-0.12.0[${PYTHON_USEDEP}]
+ "
+fi
+
+# Uses pytest but we want to use the setup.py runner to get generated modules
+BDEPEND+="test? ( dev-python/pytest )"
+RDEPEND+="dev-vcs/git"
+
+distutils_enable_sphinx doc
+distutils_enable_tests setup.py
+
+python_install_all() {
+ # We'll generate man pages ourselves
+ # Revisit when a release is made
+ # to pregenerate them, making USE=doc
+ # for generating the real HTML docs only.
+ if use doc ; then
+ cd doc || die
+ emake man
+ doman _build/man/*
+ fi
+
+ cd .. || die
+
+ # HTML pages only
+ sphinx_compile_all
+
+ distutils-r1_python_install_all
+}