diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-arch/createrepo |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-arch/createrepo')
-rw-r--r-- | app-arch/createrepo/Manifest | 6 | ||||
-rw-r--r-- | app-arch/createrepo/createrepo-0.10.4.ebuild | 50 | ||||
-rw-r--r-- | app-arch/createrepo/files/createrepo-0.10.3-ten-changelog-limit.patch | 11 | ||||
-rw-r--r-- | app-arch/createrepo/metadata.xml | 8 |
4 files changed, 75 insertions, 0 deletions
diff --git a/app-arch/createrepo/Manifest b/app-arch/createrepo/Manifest new file mode 100644 index 000000000000..594eabca0c55 --- /dev/null +++ b/app-arch/createrepo/Manifest @@ -0,0 +1,6 @@ +AUX createrepo-0.10.3-ten-changelog-limit.patch 525 SHA256 aa8cd656cd5c0244e89399fdd00bd1956599e2a7bf9f25f9e967154d9ba8e8e0 SHA512 3ff54907d22680c5e617fa43b3954f533d66cf6f00a67e628ee4e6828871fce71cf200a562e8557a33e66cba09e9b76c12aec4c1dc7e7bc31589add9c71a1516 WHIRLPOOL 12230e6e0fc9a13c8b8fd878691446bf0d85ca8523445a40dd77768f2ec31767cdce39a129d6d21067ef4dd1b2b8c8cf1c4bbad0f3258047191cf4b0c9930c03 +DIST createrepo-0.10.4.tar.gz 71186 SHA256 f850504a3ec7e556aaaa626d487e8b0def84ffea666fd30774cbbd575c128261 SHA512 28858d7d886e1132d001bb1bd847657502eb132133e39a4d19a4c8a080728c6b6f344283bc6ee21ce8def5b7980cbca7ed78299adeb71ce1012751268f6740ec WHIRLPOOL bd75e04ac4b04cb32d9359debff0413352abbddd7ea248a401eea353cb6fccbaa9d9a79e15ac2e81cd3e0d56fbd0f37b25f44c5cd94238ddf4a8cb9f6277a774 +EBUILD createrepo-0.10.4.ebuild 1165 SHA256 9b9cb8a87064368fe0ab415713d6cb72ee60cc029fda086daac6066103ac8426 SHA512 5ec521bea3c40a4d572848b17204f2db0e831e00b5eda695320578c1d6d972d9ef585e6cf0583aa4d3245189a0809812f948006e2aaed87106e8fc15ddcb6e36 WHIRLPOOL eb9fb867d9f08a9ab2e351c36f45bf508e8642e01cb972d1d20141d5ce695a6dafae30b620f87d09c1c7c331b0d7919a7c00b97342d1f9e5176e427e64d06ea7 +MISC ChangeLog 2469 SHA256 30d756525211609059043af3d6aadc86459cc9e426034ae3bc66bc6bf10ccac2 SHA512 f21f127480506b1854dc2572b480928b6ad945f58e42427302c7b53e4c82cc82f98b48d6849704222287e84069ce6fa0254f6d4529fc6c49206c30f8ce029c3d WHIRLPOOL c11638fc059b0e89ddc5cf7151161cdffdbe315f8f3a0c1b0f2ee77d4adf03fe342d350cdc0dd504584fde6e4b3a062440a5e4d4c77f596a60d4def6baa24f9e +MISC ChangeLog-2015 2087 SHA256 4c55faa31f7afb56e8788eea77467a17580acd8b92ca7a28ed7effd7cce62e43 SHA512 f0fc9f29a68b067f33ffcfa46ceb023de35d64506f34c238fb1fe4e42c5cc6c525b192dac49b7695d669838baa7cb270afa2d9f4e69cee7dd9a19bdbfd4bdf11 WHIRLPOOL d2c8d80ce7773d02b949c6432bf5044240ac3513d183bd076cc4a536178fdaf3a124904e1c03b880d2dde2665b25411dd0274df8ffd7f0fea195857d70b51cf1 +MISC metadata.xml 241 SHA256 2cc0ea86dc696af5b3956d5e7afde4c34a59c908917c0565046cca4b8c663585 SHA512 d0c9844a236b2be2bb08d8aecf429dca028b0199db4c5c26c5a9cc2d9e13e21214ae110deb2b0d56e1caeae4ba0367effacbb542890e599bf4ebc6ffb4a369d8 WHIRLPOOL 6bd284e26a3fa79a33adf6d456fc708ac7fc07a51b6018443d7ad0174bcaca1c00893511a86eae69f39d3bc8160fb1e4ea3034db26d3131830274973d0377a7e diff --git a/app-arch/createrepo/createrepo-0.10.4.ebuild b/app-arch/createrepo/createrepo-0.10.4.ebuild new file mode 100644 index 000000000000..55076a14eb95 --- /dev/null +++ b/app-arch/createrepo/createrepo-0.10.4.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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/pyliblzma[${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" +) + +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.3-ten-changelog-limit.patch b/app-arch/createrepo/files/createrepo-0.10.3-ten-changelog-limit.patch new file mode 100644 index 000000000000..e6de1e11002f --- /dev/null +++ b/app-arch/createrepo/files/createrepo-0.10.3-ten-changelog-limit.patch @@ -0,0 +1,11 @@ +--- 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 + 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())) diff --git a/app-arch/createrepo/metadata.xml b/app-arch/createrepo/metadata.xml new file mode 100644 index 000000000000..cf9a9e94265f --- /dev/null +++ b/app-arch/createrepo/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>alonbl@gentoo.org</email> + <name>Alon Bar-Lev</name> +</maintainer> +</pkgmetadata> |