* [gentoo-commits] repo/gentoo:master commit in: app-arch/createrepo/, app-arch/createrepo/files/
@ 2017-02-05 19:58 Alon Bar-Lev
0 siblings, 0 replies; 2+ messages in thread
From: Alon Bar-Lev @ 2017-02-05 19:58 UTC (permalink / raw
To: gentoo-commits
commit: d869991e5bba0ef94eb823f312b553c3ab9484ff
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 5 19:43:21 2017 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sun Feb 5 19:58:42 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d869991e
app-arch/createrepo: eapi bump
Package-Manager: portage-2.3.3
app-arch/createrepo/createrepo-0.10.4.ebuild | 25 +++++++++-------------
.../createrepo-0.10.3-ten-changelog-limit.patch | 4 ++--
2 files changed, 12 insertions(+), 17 deletions(-)
diff --git a/app-arch/createrepo/createrepo-0.10.4.ebuild b/app-arch/createrepo/createrepo-0.10.4.ebuild
index afe57b3..1aa19ea 100644
--- a/app-arch/createrepo/createrepo-0.10.4.ebuild
+++ b/app-arch/createrepo/createrepo-0.10.4.ebuild
@@ -1,18 +1,17 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE='xml'
-inherit python-single-r1 bash-completion-r1 eutils
+inherit python-single-r1 bash-completion-r1
DESCRIPTION="Creates a common rpm-metadata repository"
HOMEPAGE="http://createrepo.baseurl.org/"
-SRC_URI="http://createrepo.baseurl.org/download/${P}.tar.gz
- https://dev.gentoo.org/~pacho/maintainer-needed/${PN}-0.9.9-head.patch.bz2"
+SRC_URI="http://createrepo.baseurl.org/download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -28,28 +27,24 @@ RDEPEND=">=dev-python/urlgrabber-2.9.0[${PYTHON_USEDEP}]
${PYTHON_DEPS}"
DEPEND="${PYTHON_DEPS}"
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.10.3-ten-changelog-limit.patch"
+)
pkg_setup() {
python-single-r1_pkg_setup
python_export PYTHON_SITEDIR
}
-src_prepare() {
- epatch "${FILESDIR}/${PN}-0.10.3-ten-changelog-limit.patch"
-}
-
-src_compile() {
- :
-}
-
src_install() {
emake install \
DESTDIR="${ED}" \
PYTHON=true \
compdir="$(get_bashcompdir)" \
PKGDIR="${PYTHON_SITEDIR}/${PN}"
- dodoc ChangeLog README
+ einstalldocs
python_fix_shebang "${ED}"
python_optimize
python_optimize "${ED}/usr/share/createrepo"
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
index 07b6106..e6de1e1 100644
--- 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
@@ -1,5 +1,5 @@
---- createrepo/__init__.py~ 2011-01-26 12:14:30.000000000 -0500
-+++ createrepo/__init__.py 2011-01-26 12:34:17.291441719 -0500
+--- a/createrepo/__init__.py 2011-01-26 12:14:30.000000000 -0500
++++ b/createrepo/__init__.py 2011-01-26 12:34:17.291441719 -0500
@@ -96,7 +96,7 @@
self.mdtimestamp = 0
self.directory = None
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-arch/createrepo/, app-arch/createrepo/files/
@ 2018-10-01 17:00 Alon Bar-Lev
0 siblings, 0 replies; 2+ messages in thread
From: Alon Bar-Lev @ 2018-10-01 17:00 UTC (permalink / raw
To: gentoo-commits
commit: f1b13c15aadac7c2777cf304df6b9c3ea4e5f304
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 1 16:55:35 2018 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Mon Oct 1 17:00:18 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1b13c15
app-arch/createrepo: use backports-lzma instead of pyliblzma
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Closes: https://bugs.gentoo.org/show_bug.cgi?id=643310
Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org>
app-arch/createrepo/createrepo-0.10.4-r1.ebuild | 51 ++++++++++++++++++++++
.../createrepo/files/createrepo-0.10.4-lzma.patch | 14 ++++++
2 files changed, 65 insertions(+)
diff --git a/app-arch/createrepo/createrepo-0.10.4-r1.ebuild b/app-arch/createrepo/createrepo-0.10.4-r1.ebuild
new file mode 100644
index 00000000000..39a64af2e0b
--- /dev/null
+++ b/app-arch/createrepo/createrepo-0.10.4-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='xml'
+
+inherit python-single-r1 bash-completion-r1
+
+DESCRIPTION="Creates a common rpm-metadata repository"
+HOMEPAGE="http://createrepo.baseurl.org/"
+SRC_URI="http://createrepo.baseurl.org/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-python/urlgrabber-2.9.0[${PYTHON_USEDEP}]
+ >=app-arch/rpm-4.1.1[python,${PYTHON_USEDEP}]
+ dev-libs/libxml2[python,${PYTHON_USEDEP}]
+ >=app-arch/deltarpm-3.6_pre20110223[python,${PYTHON_USEDEP}]
+ dev-python/backports-lzma[${PYTHON_USEDEP}]
+ >=sys-apps/yum-3.4.3
+ ${PYTHON_DEPS}"
+DEPEND="${PYTHON_DEPS}"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.10.3-ten-changelog-limit.patch"
+ "${FILESDIR}/${P}-lzma.patch"
+)
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ python_export PYTHON_SITEDIR
+}
+
+src_install() {
+ emake install \
+ DESTDIR="${ED}" \
+ PYTHON=true \
+ compdir="$(get_bashcompdir)" \
+ PKGDIR="${PYTHON_SITEDIR}/${PN}"
+ einstalldocs
+ python_fix_shebang "${ED}"
+ python_optimize
+ python_optimize "${ED}/usr/share/createrepo"
+}
diff --git a/app-arch/createrepo/files/createrepo-0.10.4-lzma.patch b/app-arch/createrepo/files/createrepo-0.10.4-lzma.patch
new file mode 100644
index 00000000000..2bae50c0a8a
--- /dev/null
+++ b/app-arch/createrepo/files/createrepo-0.10.4-lzma.patch
@@ -0,0 +1,14 @@
+diff --git a/createrepo/utils.py b/createrepo/utils.py
+index b0d92ec..1220c7c 100644
+--- a/createrepo/utils.py
++++ b/createrepo/utils.py
+@@ -25,7 +25,8 @@ from gzip import write32u, FNAME
+ from yum import misc
+ _available_compression = ['gz', 'bz2']
+ try:
+- import lzma
++ import backports.lzma
++ lzma = backports.lzma
+ _available_compression.append('xz')
+ except ImportError:
+ lzma = None
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-10-01 17:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-05 19:58 [gentoo-commits] repo/gentoo:master commit in: app-arch/createrepo/, app-arch/createrepo/files/ Alon Bar-Lev
-- strict thread matches above, loose matches on Subject: below --
2018-10-01 17:00 Alon Bar-Lev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox