Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/repoman/
Date: Mon, 29 Mar 2021 07:59:57
Message-Id: 1617004787.6b061f1f7641c028c57f57bbd91997c6cf646b9a.zmedico@gentoo
1 commit: 6b061f1f7641c028c57f57bbd91997c6cf646b9a
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 29 07:55:56 2021 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 29 07:59:47 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b061f1f
7
8 app-portage/repoman: Bump to version 3.0.3
9
10 #608664 variable.phase check like pkgcheck VariableScopeChec
11 #692486 Change message for preserve_old_lib
12
13 Bug: https://bugs.gentoo.org/608664
14 Bug: https://bugs.gentoo.org/692486
15 Package-Manager: Portage-3.0.18, Repoman-3.0.3
16 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
17
18 app-portage/repoman/Manifest | 1 +
19 app-portage/repoman/repoman-3.0.3.ebuild | 64 ++++++++++++++++++++++++++++++++
20 2 files changed, 65 insertions(+)
21
22 diff --git a/app-portage/repoman/Manifest b/app-portage/repoman/Manifest
23 index 84a64fb9095..0a73ad91868 100644
24 --- a/app-portage/repoman/Manifest
25 +++ b/app-portage/repoman/Manifest
26 @@ -1,2 +1,3 @@
27 DIST repoman-2.3.23.tar.bz2 87108 BLAKE2B c1190433bd8aedf59e1ddf192dd14cca13e3bdae7367decd6bf64a79021f54a63f21ec49d5737b90c46be3894f4d3ff11bf5bd2868c9ebf65e44b4eb3bb4eee0 SHA512 9d01fadc5820501a9bfb9c1b6d9634ecbc14aacdc448bb440d1e37d47f7e4bcdea8269f8ba90e3783d84f31121870a9d7b165f58b78f0d0f0f4e822a25687d1b
28 DIST repoman-3.0.2.tar.bz2 88258 BLAKE2B 32c4d6750fd225cf9fc071be0ffbb38563ffdaf50f1f1ac7247ce3733bd781cd699052101df8b6565fd3d32ec6d9a54efb611b815a722b7954d8100ce01de146 SHA512 fd5b4549a0b108ed1ad37fc0766fc73db127bba8b023a74566ee0167e2a9c56c8597b83ead16522aaf84f158a9a5d0d59e4b5bcc908e6024724c087c837e1fa2
29 +DIST repoman-3.0.3.tar.bz2 90373 BLAKE2B a4ea542c452d44b1f4aef235d67390b0a0f139f32da33ab9ad8992797965724f4ef8123a49b681e9205b6e3fe279dd248b65b0119659b7a0038fe9884bec0797 SHA512 09855a8a0098482c1ce0a7f50d2481528e713fb6796a4004475c841de59f9df8d264f2e9342fdaee87c71d275137234b7e3adc3454f7f33dcf75e32a0ae3f0e9
30
31 diff --git a/app-portage/repoman/repoman-3.0.3.ebuild b/app-portage/repoman/repoman-3.0.3.ebuild
32 new file mode 100644
33 index 00000000000..d6e3b529898
34 --- /dev/null
35 +++ b/app-portage/repoman/repoman-3.0.3.ebuild
36 @@ -0,0 +1,64 @@
37 +# Copyright 1999-2021 Gentoo Authors
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=7
41 +
42 +DISTUTILS_USE_SETUPTOOLS=no
43 +PYTHON_COMPAT=( python3_{7..9} pypy3 )
44 +PYTHON_REQ_USE='bzip2(+)'
45 +
46 +inherit distutils-r1
47 +
48 +if [[ ${PV} == *9999 ]]; then
49 + inherit git-r3
50 + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage.git"
51 + S="${WORKDIR}/${P}/repoman"
52 +else
53 + SRC_URI="https://dev.gentoo.org/~zmedico/portage/archives/${P}.tar.bz2"
54 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
55 +fi
56 +
57 +DESCRIPTION="Repoman is a Quality Assurance tool for Gentoo ebuilds"
58 +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
59 +
60 +LICENSE="GPL-2"
61 +SLOT="0"
62 +IUSE=""
63 +
64 +RDEPEND="
65 + >=sys-apps/portage-3.0.18[${PYTHON_USEDEP}]
66 + >=dev-python/lxml-3.6.0[${PYTHON_USEDEP}]
67 + dev-python/pyyaml[${PYTHON_USEDEP}]
68 +"
69 +DEPEND="${RDEPEND}"
70 +
71 +python_test() {
72 + esetup.py test
73 +}
74 +
75 +python_install() {
76 + # Install sbin scripts to bindir for python-exec linking
77 + # they will be relocated in pkg_preinst()
78 + distutils-r1_python_install \
79 + --system-prefix="${EPREFIX}/usr" \
80 + --bindir="$(python_get_scriptdir)" \
81 + --docdir="${EPREFIX}/usr/share/doc/${PF}" \
82 + --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
83 + --sbindir="$(python_get_scriptdir)" \
84 + --sysconfdir="${EPREFIX}/etc" \
85 + "${@}"
86 +}
87 +
88 +pkg_postinst() {
89 + if [[ -z ${REPLACING_VERSIONS} ]]; then
90 + elog ""
91 + elog "This release of repoman is from the new portage/repoman split"
92 + elog "release code base."
93 + elog "This new repoman code base is still being developed. So its API's"
94 + elog "are not to be considered stable and are subject to change."
95 + elog "The code released has been tested and considered ready for use."
96 + elog "This however does not guarantee it to be completely bug free."
97 + elog "Please report any bugs you may encounter."
98 + elog ""
99 + fi
100 +}