summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-12-25 00:28:11 +0000
committerMichał Górny <mgorny@gentoo.org>2014-12-25 00:28:11 +0000
commitad436e60ceff09bda22afcb5dcb7f7864bd78e20 (patch)
tree9ef71d5b08fd80e89df02bece218996b544331ab /app-arch
parentConvert to python-single-r1. (diff)
downloadgentoo-2-ad436e60ceff09bda22afcb5dcb7f7864bd78e20.tar.gz
gentoo-2-ad436e60ceff09bda22afcb5dcb7f7864bd78e20.tar.bz2
gentoo-2-ad436e60ceff09bda22afcb5dcb7f7864bd78e20.zip
Convert to python-single-r1.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/createrepo/ChangeLog9
-rw-r--r--app-arch/createrepo/createrepo-0.9.9-r1.ebuild46
2 files changed, 53 insertions, 2 deletions
diff --git a/app-arch/createrepo/ChangeLog b/app-arch/createrepo/ChangeLog
index 29867e80fbb0..d052f29c5d4f 100644
--- a/app-arch/createrepo/ChangeLog
+++ b/app-arch/createrepo/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-arch/createrepo
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/createrepo/ChangeLog,v 1.6 2013/03/03 19:28:03 pacho Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/createrepo/ChangeLog,v 1.7 2014/12/25 00:28:11 mgorny Exp $
+
+*createrepo-0.9.9-r1 (25 Dec 2014)
+
+ 25 Dec 2014; Michał Górny <mgorny@gentoo.org> +createrepo-0.9.9-r1.ebuild:
+ Convert to python-single-r1.
03 Mar 2013; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Alon is now a dev with commit rights
diff --git a/app-arch/createrepo/createrepo-0.9.9-r1.ebuild b/app-arch/createrepo/createrepo-0.9.9-r1.ebuild
new file mode 100644
index 000000000000..06cc917eb5cd
--- /dev/null
+++ b/app-arch/createrepo/createrepo-0.9.9-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/createrepo/createrepo-0.9.9-r1.ebuild,v 1.1 2014/12/25 00:28:11 mgorny Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='xml'
+
+inherit python-single-r1 eutils
+
+DESCRIPTION="Creates a common rpm-metadata repository"
+HOMEPAGE="http://createrepo.baseurl.org/"
+SRC_URI="http://createrepo.baseurl.org/download/${P}.tar.gz
+ http://dev.gentoo.org/~pacho/maintainer-needed/${PN}-0.9.9-head.patch.bz2"
+
+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/pyliblzma[${PYTHON_USEDEP}]
+ >=sys-apps/yum-3.4.3
+ ${PYTHON_DEPS}"
+DEPEND="${PYTHON_DEPS}"
+
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+src_prepare() {
+ epatch "${WORKDIR}/${PN}-0.9.9-head.patch"
+ epatch "${FILESDIR}/${PN}-0.9.9-ten-changelog-limit.patch"
+
+ sed -i -e '/^sysconfdir/s:=.*/:=/:' Makefile || die
+}
+
+src_compile() { :; }
+
+src_install() {
+ emake install DESTDIR="${D}"
+ dodoc ChangeLog README
+ python_fix_shebang "${ED}"
+}