diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-07-29 08:06:17 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-07-29 08:55:24 +0200 |
commit | 2ec16b3e395d8edc14d7243931efb539c15a9b15 (patch) | |
tree | eaa653282fdf95953db3a56379822cbbdd3e9aad /dev-util/pkgdev | |
parent | dev-perl/Convert-UUlib: x86 stable wrt bug #804732 (diff) | |
download | gentoo-2ec16b3e395d8edc14d7243931efb539c15a9b15.tar.gz gentoo-2ec16b3e395d8edc14d7243931efb539c15a9b15.tar.bz2 gentoo-2ec16b3e395d8edc14d7243931efb539c15a9b15.zip |
dev-util/pkgdev: Bump to 0.1.8
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-util/pkgdev')
-rw-r--r-- | dev-util/pkgdev/Manifest | 1 | ||||
-rw-r--r-- | dev-util/pkgdev/pkgdev-0.1.8.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-util/pkgdev/Manifest b/dev-util/pkgdev/Manifest index 5d113e950579..2fd07bd152a3 100644 --- a/dev-util/pkgdev/Manifest +++ b/dev-util/pkgdev/Manifest @@ -2,3 +2,4 @@ DIST pkgdev-0.1.2.tar.gz 32579 BLAKE2B 42ecd7403dcb49b256539e12c22a6bca72884bf55 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 +DIST pkgdev-0.1.8.tar.gz 57106 BLAKE2B 7ac98887e12a5b08a9fc7b9ba3ecc0c7bece9afa874ddd767e38e4cc2c5d809aa5d5fdab2ad56ad0c309b0d59c11457fe61bd6e1ef7e97ddb6512f61ff2d2af5 SHA512 08c5c457af8bb898948907fb9f9e8a854d3a9ccb16b1ff6fad8540f79eb0f94e674616c1f55991c49ec966d6c5b1133740316c55d43b905cc73c2275a437acc6 diff --git a/dev-util/pkgdev/pkgdev-0.1.8.ebuild b/dev-util/pkgdev/pkgdev-0.1.8.ebuild new file mode 100644 index 000000000000..8902eff76956 --- /dev/null +++ b/dev-util/pkgdev/pkgdev-0.1.8.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 ~sparc ~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 +} |