Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pkgdev/
Date: Sun, 01 Aug 2021 12:25:14
Message-Id: 1627820352.397ae972ea561033a3b314bdd153a1e49a1a5316.mgorny@gentoo
1 commit: 397ae972ea561033a3b314bdd153a1e49a1a5316
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 1 09:54:25 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 1 12:19:12 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=397ae972
7
8 dev-util/pkgdev: Bump to 0.1.9
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-util/pkgdev/Manifest | 1 +
13 dev-util/pkgdev/pkgdev-0.1.9.ebuild | 64 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 65 insertions(+)
15
16 diff --git a/dev-util/pkgdev/Manifest b/dev-util/pkgdev/Manifest
17 index 2fd07bd152a..cda48f8fe9f 100644
18 --- a/dev-util/pkgdev/Manifest
19 +++ b/dev-util/pkgdev/Manifest
20 @@ -3,3 +3,4 @@ DIST pkgdev-0.1.5.tar.gz 54386 BLAKE2B 1e3b87cbae263dba5dbb46f6a5df95d1f2b76382e
21 DIST pkgdev-0.1.6.tar.gz 55644 BLAKE2B 70c0c040ca277b108515d6c3fcbdecbf7ee20963bdc2d19218855a8261830f1509073e5a09d0daf6ccb6a276dd19401c9266d74e5c5c0b60ceb234a63779f38e SHA512 5f274d0ddbff0535862827e3e97d3378cc53c3fa2528e35ac4ef8c4bc3215de4eac2b62b2f2fc1c499f360a0594fecdb722613592ac86d01bef3f6abfc522c1f
22 DIST pkgdev-0.1.7.tar.gz 55781 BLAKE2B 218842bbba75a0cc3d6005e75859ec679d2c03019c92e813c174554262f7d63bdfe1176faca102e91cfbec073d2197792c85b9c46318e6a86d7fa74d9780303a SHA512 bf68367e13298845c08089cad47a7ccd536bee43d6fb6993f3d0ba283331045032ab1b82d195cffe5368e844ea05ad8cee5b5cd248b69d18f021bb26a26145ff
23 DIST pkgdev-0.1.8.tar.gz 57106 BLAKE2B 7ac98887e12a5b08a9fc7b9ba3ecc0c7bece9afa874ddd767e38e4cc2c5d809aa5d5fdab2ad56ad0c309b0d59c11457fe61bd6e1ef7e97ddb6512f61ff2d2af5 SHA512 08c5c457af8bb898948907fb9f9e8a854d3a9ccb16b1ff6fad8540f79eb0f94e674616c1f55991c49ec966d6c5b1133740316c55d43b905cc73c2275a437acc6
24 +DIST pkgdev-0.1.9.tar.gz 57093 BLAKE2B 5f5d9b4956cdc949d5e37c24160c692c32cf7e5d9fe90c167adc364993370dc42291edca048db3b0a2f17b199003aea61bd6b541bc58de1c1a084365ce517660 SHA512 78c117163549cb021e8cb9bd65e9a7752633506f3db825133fc3c4c515549c6e10dc974164489c06f94c1a1e25acb8fe050a57754353b907d6026892ef034cb2
25
26 diff --git a/dev-util/pkgdev/pkgdev-0.1.9.ebuild b/dev-util/pkgdev/pkgdev-0.1.9.ebuild
27 new file mode 100644
28 index 00000000000..8902eff7695
29 --- /dev/null
30 +++ b/dev-util/pkgdev/pkgdev-0.1.9.ebuild
31 @@ -0,0 +1,64 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +DISTUTILS_IN_SOURCE_BUILD=1
39 +inherit distutils-r1
40 +
41 +if [[ ${PV} == *9999 ]] ; then
42 + EGIT_REPO_URI="https://github.com/pkgcore/pkgdev.git"
43 + inherit git-r3
44 +else
45 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 + KEYWORDS="~amd64 ~ppc64 ~riscv ~sparc ~x64-macos"
47 +fi
48 +
49 +DESCRIPTION="Collection of tools for Gentoo development"
50 +HOMEPAGE="https://github.com/pkgcore/pkgdev"
51 +
52 +LICENSE="BSD MIT"
53 +SLOT="0"
54 +
55 +if [[ ${PV} == *9999 ]] ; then
56 + # https://github.com/pkgcore/pkgdev/blob/main/requirements/dev.txt
57 + RDEPEND="
58 + ~dev-python/snakeoil-9999[${PYTHON_USEDEP}]
59 + ~dev-util/pkgcheck-9999[${PYTHON_USEDEP}]
60 + ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}]
61 + "
62 +else
63 + # https://github.com/pkgcore/pkgdev/blob/main/requirements/install.txt
64 + RDEPEND="
65 + >=dev-python/snakeoil-0.9.6[${PYTHON_USEDEP}]
66 + >=dev-util/pkgcheck-0.10.0[${PYTHON_USEDEP}]
67 + >=sys-apps/pkgcore-0.12.0[${PYTHON_USEDEP}]
68 + "
69 +fi
70 +
71 +# Uses pytest but we want to use the setup.py runner to get generated modules
72 +BDEPEND+="test? ( dev-python/pytest )"
73 +RDEPEND+="dev-vcs/git"
74 +
75 +distutils_enable_sphinx doc
76 +distutils_enable_tests setup.py
77 +
78 +python_install_all() {
79 + # We'll generate man pages ourselves
80 + # Revisit when a release is made
81 + # to pregenerate them, making USE=doc
82 + # for generating the real HTML docs only.
83 + if use doc ; then
84 + cd doc || die
85 + emake man
86 + doman _build/man/*
87 + fi
88 +
89 + cd .. || die
90 +
91 + # HTML pages only
92 + sphinx_compile_all
93 +
94 + distutils-r1_python_install_all
95 +}