Gentoo Archives: gentoo-commits

From: Alon Bar-Lev <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/createrepo/, app-arch/createrepo/files/
Date: Sun, 05 Feb 2017 19:59:14
Message-Id: 1486324722.d869991e5bba0ef94eb823f312b553c3ab9484ff.alonbl@gentoo
1 commit: d869991e5bba0ef94eb823f312b553c3ab9484ff
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 5 19:43:21 2017 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 5 19:58:42 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d869991e
7
8 app-arch/createrepo: eapi bump
9
10 Package-Manager: portage-2.3.3
11
12 app-arch/createrepo/createrepo-0.10.4.ebuild | 25 +++++++++-------------
13 .../createrepo-0.10.3-ten-changelog-limit.patch | 4 ++--
14 2 files changed, 12 insertions(+), 17 deletions(-)
15
16 diff --git a/app-arch/createrepo/createrepo-0.10.4.ebuild b/app-arch/createrepo/createrepo-0.10.4.ebuild
17 index afe57b3..1aa19ea 100644
18 --- a/app-arch/createrepo/createrepo-0.10.4.ebuild
19 +++ b/app-arch/createrepo/createrepo-0.10.4.ebuild
20 @@ -1,18 +1,17 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 +# Copyright 1999-2017 Gentoo Foundation
23 # Distributed under the terms of the GNU General Public License v2
24 # $Id$
25
26 -EAPI=5
27 +EAPI=6
28
29 PYTHON_COMPAT=( python2_7 )
30 PYTHON_REQ_USE='xml'
31
32 -inherit python-single-r1 bash-completion-r1 eutils
33 +inherit python-single-r1 bash-completion-r1
34
35 DESCRIPTION="Creates a common rpm-metadata repository"
36 HOMEPAGE="http://createrepo.baseurl.org/"
37 -SRC_URI="http://createrepo.baseurl.org/download/${P}.tar.gz
38 - https://dev.gentoo.org/~pacho/maintainer-needed/${PN}-0.9.9-head.patch.bz2"
39 +SRC_URI="http://createrepo.baseurl.org/download/${P}.tar.gz"
40
41 LICENSE="GPL-2"
42 SLOT="0"
43 @@ -28,28 +27,24 @@ RDEPEND=">=dev-python/urlgrabber-2.9.0[${PYTHON_USEDEP}]
44 ${PYTHON_DEPS}"
45 DEPEND="${PYTHON_DEPS}"
46
47 -REQUIRED_USE=${PYTHON_REQUIRED_USE}
48 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
49 +
50 +PATCHES=(
51 + "${FILESDIR}/${PN}-0.10.3-ten-changelog-limit.patch"
52 +)
53
54 pkg_setup() {
55 python-single-r1_pkg_setup
56 python_export PYTHON_SITEDIR
57 }
58
59 -src_prepare() {
60 - epatch "${FILESDIR}/${PN}-0.10.3-ten-changelog-limit.patch"
61 -}
62 -
63 -src_compile() {
64 - :
65 -}
66 -
67 src_install() {
68 emake install \
69 DESTDIR="${ED}" \
70 PYTHON=true \
71 compdir="$(get_bashcompdir)" \
72 PKGDIR="${PYTHON_SITEDIR}/${PN}"
73 - dodoc ChangeLog README
74 + einstalldocs
75 python_fix_shebang "${ED}"
76 python_optimize
77 python_optimize "${ED}/usr/share/createrepo"
78
79 diff --git a/app-arch/createrepo/files/createrepo-0.10.3-ten-changelog-limit.patch b/app-arch/createrepo/files/createrepo-0.10.3-ten-changelog-limit.patch
80 index 07b6106..e6de1e1 100644
81 --- a/app-arch/createrepo/files/createrepo-0.10.3-ten-changelog-limit.patch
82 +++ b/app-arch/createrepo/files/createrepo-0.10.3-ten-changelog-limit.patch
83 @@ -1,5 +1,5 @@
84 ---- createrepo/__init__.py~ 2011-01-26 12:14:30.000000000 -0500
85 -+++ createrepo/__init__.py 2011-01-26 12:34:17.291441719 -0500
86 +--- a/createrepo/__init__.py 2011-01-26 12:14:30.000000000 -0500
87 ++++ b/createrepo/__init__.py 2011-01-26 12:34:17.291441719 -0500
88 @@ -96,7 +96,7 @@
89 self.mdtimestamp = 0
90 self.directory = None