diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-arch/createrepo | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-arch/createrepo')
-rw-r--r-- | app-arch/createrepo/Manifest | 4 | ||||
-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, 73 insertions, 0 deletions
diff --git a/app-arch/createrepo/Manifest b/app-arch/createrepo/Manifest new file mode 100644 index 000000000000..785094bd77e2 --- /dev/null +++ b/app-arch/createrepo/Manifest @@ -0,0 +1,4 @@ +AUX createrepo-0.10.3-ten-changelog-limit.patch 525 BLAKE2B 6e79c87e8865bab43721fd4cb79b79b5549642cc33f83dc245eeff5dbbba79f5244ab20f7e88903a7bad35d96a3c976999e0e69b57e19f90411685d6da4c0f6d SHA512 3ff54907d22680c5e617fa43b3954f533d66cf6f00a67e628ee4e6828871fce71cf200a562e8557a33e66cba09e9b76c12aec4c1dc7e7bc31589add9c71a1516 +DIST createrepo-0.10.4.tar.gz 71186 BLAKE2B ddd15305c6861e9872bf55683035c311a22aea062d27ba4e06bbe4e09598c85fbbaf4b874cbbd1e4c521610a7faa4097a7062ac52752ab2916c14ffca70a817d SHA512 28858d7d886e1132d001bb1bd847657502eb132133e39a4d19a4c8a080728c6b6f344283bc6ee21ce8def5b7980cbca7ed78299adeb71ce1012751268f6740ec +EBUILD createrepo-0.10.4.ebuild 1165 BLAKE2B a7b3e4e5adb25d135a516f79780870ec907d8eb654bbd64e40cccb54096ced0c120f932d34199e4dfa9ec8bcb918b4192759115970f152c5b611e03d2e8e3046 SHA512 5ec521bea3c40a4d572848b17204f2db0e831e00b5eda695320578c1d6d972d9ef585e6cf0583aa4d3245189a0809812f948006e2aaed87106e8fc15ddcb6e36 +MISC metadata.xml 241 BLAKE2B da02aaf50e60432544b6c8832b7711764b2aa8b5d296dd64f19208832042de36daabc30c8310468cc604013b69c0cc3817f4a14aadd0dad4142c6bf68d4cb767 SHA512 d0c9844a236b2be2bb08d8aecf429dca028b0199db4c5c26c5a9cc2d9e13e21214ae110deb2b0d56e1caeae4ba0367effacbb542890e599bf4ebc6ffb4a369d8 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> |