diff options
author | Sam James <sam@gentoo.org> | 2021-06-11 21:52:56 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-06-11 22:02:06 +0000 |
commit | 8c48730c91cac28844b76de116aa584623e516aa (patch) | |
tree | 987dfaed53b4fa2eac2566c22cfd5b9ebf16f399 /dev-util/pkgdev | |
parent | media-gfx/gnome-screenshot: Fix X11 HiDPI support (diff) | |
download | gentoo-8c48730c91cac28844b76de116aa584623e516aa.tar.gz gentoo-8c48730c91cac28844b76de116aa584623e516aa.tar.bz2 gentoo-8c48730c91cac28844b76de116aa584623e516aa.zip |
dev-util/pkgdev: add 0.1.6
Signed-off-by: Sam James <sam@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.6.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-util/pkgdev/Manifest b/dev-util/pkgdev/Manifest index 94500f15b1d0..5b491d7d691e 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.3.tar.gz 35226 BLAKE2B 7e22331b39bc2b31a0492842d91b3389217ccf3e017796d239364888d691bb7f9c443b12f8a8019f3774276fb9f492a054e27b76cc447ebcfa584261b34e17dc SHA512 b64addebe81995968b4cca04de2d2a5ac63485b76744bde8d2f1b67a0207259712cf72fe76440a6c18eeb580c9de9fd594f48f08ba4870675efbc8c830751993 DIST pkgdev-0.1.4.tar.gz 53247 BLAKE2B cc89f6637bdd0df230b47b30233415c2c2e55ea3dccd7134e22614b16c0ce8c95302c9edb5f64ca8b1928ddd2f678006d6bdf8c6241deb5d95dee6f6ec488dfb SHA512 60a23e7e3c0974677ebfcda4d709ad6dc15517d02f4190f318f61aeb0ceecc5b2bb8c663542313c3423a1102099d880a683e6623de1afe3c30bc92d59821d632 DIST pkgdev-0.1.5.tar.gz 54386 BLAKE2B 1e3b87cbae263dba5dbb46f6a5df95d1f2b76382e52bff10a445abcf9af7c965cadd6e0134c3cfdb550fcdd9c96e0f4f40f3f4d6d9097913ef3ba9f309885b98 SHA512 4617f5f2e15bd3833debf76fdf02cdb9bc10e27285e18ca5958e197ab89d7392731a7f5e3846e92764d90b643f38eb1834c8d0a724e934f623edd1675a705b9e +DIST pkgdev-0.1.6.tar.gz 55644 BLAKE2B 70c0c040ca277b108515d6c3fcbdecbf7ee20963bdc2d19218855a8261830f1509073e5a09d0daf6ccb6a276dd19401c9266d74e5c5c0b60ceb234a63779f38e SHA512 5f274d0ddbff0535862827e3e97d3378cc53c3fa2528e35ac4ef8c4bc3215de4eac2b62b2f2fc1c499f360a0594fecdb722613592ac86d01bef3f6abfc522c1f diff --git a/dev-util/pkgdev/pkgdev-0.1.6.ebuild b/dev-util/pkgdev/pkgdev-0.1.6.ebuild new file mode 100644 index 000000000000..2aac0526b81f --- /dev/null +++ b/dev-util/pkgdev/pkgdev-0.1.6.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..9} ) +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 +} |