mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
app-arch/createrepo: Remove last-rited pkg
Closes: https://bugs.gentoo.org/643308 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST createrepo-0.10.4.tar.gz 71186 BLAKE2B ddd15305c6861e9872bf55683035c311a22aea062d27ba4e06bbe4e09598c85fbbaf4b874cbbd1e4c521610a7faa4097a7062ac52752ab2916c14ffca70a817d SHA512 28858d7d886e1132d001bb1bd847657502eb132133e39a4d19a4c8a080728c6b6f344283bc6ee21ce8def5b7980cbca7ed78299adeb71ce1012751268f6740ec
|
||||
@@ -1,51 +0,0 @@
|
||||
# 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"
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
--- 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()))
|
||||
@@ -1,14 +0,0 @@
|
||||
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
|
||||
@@ -1,8 +0,0 @@
|
||||
<?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>
|
||||
@@ -776,7 +776,6 @@ dev-util/staruml-bin
|
||||
# it with DNF.
|
||||
#
|
||||
# Removal in 30 days. Bug #643308.
|
||||
app-arch/createrepo
|
||||
dev-python/pyliblzma
|
||||
sys-apps/yum
|
||||
|
||||
|
||||
Reference in New Issue
Block a user