diff options
author | Sam James <sam@gentoo.org> | 2021-03-27 15:56:14 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-03-27 16:02:18 +0000 |
commit | 84ca007a074392e81eabb9dcfd8cdb59d343b146 (patch) | |
tree | 84905542b892137fd0f56259f38b721e03d08f39 /dev-util/pkgdev | |
parent | dev-vcs/git: Bump to version 2.31.1 (diff) | |
download | gentoo-84ca007a074392e81eabb9dcfd8cdb59d343b146.tar.gz gentoo-84ca007a074392e81eabb9dcfd8cdb59d343b146.tar.bz2 gentoo-84ca007a074392e81eabb9dcfd8cdb59d343b146.zip |
dev-util/pkgdev: add 0.1.3
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.3.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-util/pkgdev/Manifest b/dev-util/pkgdev/Manifest index 7c1d8ecbd3cc..2048fcac5f84 100644 --- a/dev-util/pkgdev/Manifest +++ b/dev-util/pkgdev/Manifest @@ -1,2 +1,3 @@ DIST pkgdev-0.1.1.tar.gz 31435 BLAKE2B 94f0246bdbc4ee91e6d570969df60ede6f756745e46b41d3a66f1518891c67f15e6daf4ba4eea91d0427346e9d5336b817b7ef918acd717fa7cf704e0151ee7b SHA512 30c70e11fdfb414b2818559eeae250f1a8330187a9b7006475a539aa7fbdeb81b4b0a564fd79105119f697db80845fbd6bd42d278c9339781eb674843cd49717 DIST pkgdev-0.1.2.tar.gz 32579 BLAKE2B 42ecd7403dcb49b256539e12c22a6bca72884bf55139c5f0972961fbebf4f976dedd3a4fac1186cc1d5af62d339ac7dd3eb20106ff1dcc7b8c264e1c4c53c3de SHA512 c224a054612fd6caa9c66855be9bb5ed439c3ac2abf5b32c4ac516d87fa4e345fc8bc328aa74b4fec44d7fd319322bb42af48f6dfdfff941e3b819a75b9fae9b +DIST pkgdev-0.1.3.tar.gz 35226 BLAKE2B 7e22331b39bc2b31a0492842d91b3389217ccf3e017796d239364888d691bb7f9c443b12f8a8019f3774276fb9f492a054e27b76cc447ebcfa584261b34e17dc SHA512 b64addebe81995968b4cca04de2d2a5ac63485b76744bde8d2f1b67a0207259712cf72fe76440a6c18eeb580c9de9fd594f48f08ba4870675efbc8c830751993 diff --git a/dev-util/pkgdev/pkgdev-0.1.3.ebuild b/dev-util/pkgdev/pkgdev-0.1.3.ebuild new file mode 100644 index 000000000000..63531217a6a8 --- /dev/null +++ b/dev-util/pkgdev/pkgdev-0.1.3.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 ~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.9.1[${PYTHON_USEDEP}] + >=sys-apps/pkgcore-0.11.7[${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 +} |