summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2014-12-25 11:12:12 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2014-12-25 11:12:12 +0000
commite20bb41bc74ce2f3871ef0dada264109094429f9 (patch)
treed7eb0b586e71c80f8f913090c513faccad6c2021 /app-arch
parentConvert to distutils-r1. (diff)
downloadhistorical-e20bb41bc74ce2f3871ef0dada264109094429f9.tar.gz
historical-e20bb41bc74ce2f3871ef0dada264109094429f9.tar.bz2
historical-e20bb41bc74ce2f3871ef0dada264109094429f9.zip
Add some patches
Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0xBF20DC51
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/createrepo/ChangeLog7
-rw-r--r--app-arch/createrepo/Manifest12
-rw-r--r--app-arch/createrepo/createrepo-0.10.3.ebuild9
-rw-r--r--app-arch/createrepo/files/createrepo-0.10.3-pkglist.patch15
-rw-r--r--app-arch/createrepo/files/createrepo-0.10.3-ten-changelog-limit.patch11
5 files changed, 46 insertions, 8 deletions
diff --git a/app-arch/createrepo/ChangeLog b/app-arch/createrepo/ChangeLog
index 7f720f33480f..d21a3cf0867a 100644
--- a/app-arch/createrepo/ChangeLog
+++ b/app-arch/createrepo/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-arch/createrepo
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/createrepo/ChangeLog,v 1.8 2014/12/25 11:03:49 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/createrepo/ChangeLog,v 1.9 2014/12/25 11:12:05 alonbl Exp $
+
+ 25 Dec 2014; Alon Bar-Lev <alonbl@gentoo.org>
+ +files/createrepo-0.10.3-pkglist.patch,
+ +files/createrepo-0.10.3-ten-changelog-limit.patch, createrepo-0.10.3.ebuild:
+ Add some patches
*createrepo-0.10.3 (25 Dec 2014)
diff --git a/app-arch/createrepo/Manifest b/app-arch/createrepo/Manifest
index 033e7f24143b..06946ed8eabf 100644
--- a/app-arch/createrepo/Manifest
+++ b/app-arch/createrepo/Manifest
@@ -1,15 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX createrepo-0.10.3-pkglist.patch 590 SHA256 2afaee345a9dfe597bbca3ea5d10168835a0d6c3b259aff711c902800f3d3342 SHA512 a54930ca9100c07e1b4ad31bc71ced0848c80e8c8d12f228739a01a4339943bdb6104ede579370422d77d699ee169a194931b5b92f19cffd7695c9fd05e294c1 WHIRLPOOL 9e0815b1f434d653498f54ec36f06be2d95986b556207d779563a4b81908c20eec7b920799fcfa1f6884f5299a17ec3397c2e5ac80c0faeed3bdc09771fb33b0
+AUX createrepo-0.10.3-ten-changelog-limit.patch 522 SHA256 2fcc3477c468d4dbc5f4372ac8d2c08f379876c9b48e9662d74d94251dff59d0 SHA512 0afbf7a668952f3e51773e219e5381aeae5ceab4bf38a75f77232be7d4923d3515e4c6c04a41b4293ea693a91d2af59624e88716ccceb0b472f0a638331f205a WHIRLPOOL ceda605447a020e75f3fbf440c4696c05a5952ce485c06faf896eb1227e3297a829bdb4b761f4688fc1ef6765b3f9963b789cd2b310555cd0d1078216de62a63
DIST createrepo-0.10.3.tar.gz 66004 SHA256 cd54621bef94c4a5ebffb5f19382050452d3e69763d2db4121c5d3881509ea6d SHA512 9e56625361dbc54667b42a4a8e84f46fd80dcb8d92ec9ff8532107981550612f946438061cc00b14c02f45aad18b33085bb0511a200715ba6d7c019785604a6e WHIRLPOOL 35de55956d7a69d6e7e5a32753336fc7808101330bb635e0712a06a76f7c5bd506b7cbaf0c728c099afe6a5927ad315e26ef44ce5cb57f6a9bb512dcf0af78df
DIST createrepo-0.9.9-head.patch.bz2 14380 SHA256 74bdaea63c5f72d8814b0be5bc4b497188c8bd7c10fc3d66b6fd4058f98b58b8 SHA512 6d5e970e1489cef85cebedc3805bb1496c743c361b9bdda3d8df290f8e588d7d960272cf3c18e9c48fcdaf6a003b784a87aaea218da1ad68bf77446600980554 WHIRLPOOL 571319be8e0a7a559aa941046ea098e197f539d5156df12f3ac5ad87b133dbd7fc844ad208b7163110f8393a06eeb5c3a2fca2d09c870b3b59f457c6cb52634a
-EBUILD createrepo-0.10.3.ebuild 1322 SHA256 bcaa11b95bbb78509d96a9ed4af30e8711709b6e1e966914fec89dc8cd86d2f8 SHA512 836f466dc049fa7caa87b5410abfa392fe6ec29f08f324718a58a2ae625ae4e1a6067f4d3126a9182917ed4ce312e1fcd11c6fb1cd1f402a7b1d003e9ac23810 WHIRLPOOL b6b9a5520cb67578123f8b268b270cdb81f3d46c6ce25dec0ffeadeadfd3c1f4cff9dcbc08e5bcc9ad244ebaabb31f79da0855263ccdb492e91d1b3d35c2a848
-MISC ChangeLog 1897 SHA256 21e911b04bf97e9b8511ffb54e2b0c6a57ff54526e6a0ed45c31a245cc1f3ce0 SHA512 16020f29a836fd254bb8576e78142d983af08627573885e3fe52ec47b233c6675ec1329ba348d9b587a282c3e269b98d91f297eb11be3e9e3a7ef4b8e2e7dc2c WHIRLPOOL 2a6e837ceffbf06c164b916182c6475c968c354800abb9446ac3bc476c883110ba9d99af4c65daa6dfd731475915c908e001c39e007ab83e7dd0325c282f040d
+EBUILD createrepo-0.10.3.ebuild 1442 SHA256 4c808883b8c17d9297a7a750c56192c7ec307ef0d9f3444e0f599b88d1fcc3ce SHA512 e7d667c82ad41b72667711902ecace81a8e8fc5ce680f1f48635f54461b74a3a9824fa1672fadb6acb45a41aabe148f8ba3374f0d9025530316e4630d1dfe3c2 WHIRLPOOL dd3b5690578fb18d051a7cf8869a15bd53e081e99c091b33c64972cc926ae57838fe557036115afe2085f7ec21f4389c0488671641b5554f78232e27c96bdf4e
+MISC ChangeLog 2087 SHA256 4c55faa31f7afb56e8788eea77467a17580acd8b92ca7a28ed7effd7cce62e43 SHA512 f0fc9f29a68b067f33ffcfa46ceb023de35d64506f34c238fb1fe4e42c5cc6c525b192dac49b7695d669838baa7cb270afa2d9f4e69cee7dd9a19bdbfd4bdf11 WHIRLPOOL d2c8d80ce7773d02b949c6432bf5044240ac3513d183bd076cc4a536178fdaf3a124904e1c03b880d2dde2665b25411dd0274df8ffd7f0fea195857d70b51cf1
MISC metadata.xml 227 SHA256 f3415c35ff8975db103e7b19bec4c319c5bec846936083a825175a96fd960975 SHA512 46b97c48fb7662893eea7b71e26c852e3f11c6d0db3f0d61be349fd1fa7160edae0b33b1c847dfbdff66a5d6d1224a68a2f61f161b707e0f3ec2f3ca85668a45 WHIRLPOOL 8b30fa164b7e5f48524271987600b6f8ba91ef5ab305256213df44eb12f878956e95219d1936753ebd3225317b6d297dfb7b2a9c21ae7ccf7bba41139bcf0dc5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iF4EAREIAAYFAlSb7xkACgkQXYk9GL8g3FEWNgD/Wf/LwS7jI0EYME+qyPorqlTg
-u/Q6Ja3hq0+iAnJ82pABAJpz4OjYLdUOgEMK6YQrSFlfvBtFLVLbtj2T7styPraP
-=TIsa
+iF4EAREIAAYFAlSb8QoACgkQXYk9GL8g3FEkwgD+OaGNyIdl3DyLgf4QeGC6Zn/Q
+/y4wfj9VN3VLpX6qSfcA/R7FcKIQC5oYNEc9mRDViFIJr/9Rxi+dlgDgipWVUHrH
+=l0Ul
-----END PGP SIGNATURE-----
diff --git a/app-arch/createrepo/createrepo-0.10.3.ebuild b/app-arch/createrepo/createrepo-0.10.3.ebuild
index 5c62c13689e0..01ad5c53db68 100644
--- a/app-arch/createrepo/createrepo-0.10.3.ebuild
+++ b/app-arch/createrepo/createrepo-0.10.3.ebuild
@@ -1,13 +1,13 @@
# 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.10.3.ebuild,v 1.1 2014/12/25 11:03:49 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/createrepo/createrepo-0.10.3.ebuild,v 1.2 2014/12/25 11:12:05 alonbl Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE='xml'
-inherit python-single-r1 bash-completion-r1
+inherit python-single-r1 bash-completion-r1 eutils
DESCRIPTION="Creates a common rpm-metadata repository"
HOMEPAGE="http://createrepo.baseurl.org/"
@@ -35,6 +35,11 @@ pkg_setup() {
python_export PYTHON_SITEDIR
}
+src_prepare() {
+ epatch "${FILESDIR}/${P}-ten-changelog-limit.patch"
+ epatch "${FILESDIR}/${P}-pkglist.patch"
+}
+
src_compile() {
:
}
diff --git a/app-arch/createrepo/files/createrepo-0.10.3-pkglist.patch b/app-arch/createrepo/files/createrepo-0.10.3-pkglist.patch
new file mode 100644
index 000000000000..59fffc10ede1
--- /dev/null
+++ b/app-arch/createrepo/files/createrepo-0.10.3-pkglist.patch
@@ -0,0 +1,15 @@
+diff --git a/createrepo/__init__.py b/createrepo/__init__.py
+index b1875f6..85f2a3d 100644
+--- a/createrepo/__init__.py
++++ b/createrepo/__init__.py
+@@ -400,7 +400,9 @@ class MetaDataGenerator:
+ if self.conf.update:
+ self._setup_old_metadata_lookup()
+ # rpms we're going to be dealing with
+- if self.conf.pkglist:
++ if isinstance(self.conf.pkglist, MetaSack):
++ packages = self.conf.pkglist
++ elif self.conf.pkglist:
+ packages = []
+ for pkg in self.conf.pkglist:
+ if '://' in pkg: # remote
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
new file mode 100644
index 000000000000..07b61067462e
--- /dev/null
+++ b/app-arch/createrepo/files/createrepo-0.10.3-ten-changelog-limit.patch
@@ -0,0 +1,11 @@
+--- createrepo/__init__.py~ 2011-01-26 12:14:30.000000000 -0500
++++ createrepo/__init__.py 2011-01-26 12:34:17.291441719 -0500
+@@ -96,7 +96,7 @@
+ self.mdtimestamp = 0
+ self.directory = None
+ self.directories = []
+- self.changelog_limit = None # needs to be an int or None
++ self.changelog_limit = 10 # needs to be an int or None
+ self.unique_md_filenames = True
+ self.additional_metadata = {} # dict of 'type':'filename'
+ self.revision = str(int(time.time()))