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 /sys-apps/yum |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-apps/yum')
-rw-r--r-- | sys-apps/yum/Manifest | 5 | ||||
-rw-r--r-- | sys-apps/yum/metadata.xml | 11 | ||||
-rw-r--r-- | sys-apps/yum/yum-3.4.3_p20170619.ebuild | 46 |
3 files changed, 62 insertions, 0 deletions
diff --git a/sys-apps/yum/Manifest b/sys-apps/yum/Manifest new file mode 100644 index 000000000000..a70e58c80618 --- /dev/null +++ b/sys-apps/yum/Manifest @@ -0,0 +1,5 @@ +DIST yum-3.4.3_p20170619.tar.gz 1525362 SHA256 c97cb357ca7f1180130007e3f8c733de7868d144b6bdb70356370ed110832d41 SHA512 4dddc3e30be8e86162b7786d7cf4e4e6f00e67c03bc3b16f347df1e54c3c67e5eaa01456e19952452a4eeaa4bc40c9a82a042d43772ad304c87c44bdc36e7ea3 WHIRLPOOL bdca57657b7d2405e04607f622d74aa94d5966bea15e1249ed47a82f3239949e2d380d6415a3e5ee089996762de412c2f60bf0f86f25dac91916322b26725847 +EBUILD yum-3.4.3_p20170619.ebuild 1233 SHA256 04fd948a07e34d90cd9ea5687b8ac8c9b385ad10b746858b94371530b8dca46a SHA512 1d30eef5387d870909272e1395c6cc97ae07e49edea0ed6d599b65e9cd1550e6e2649230085e8a8d6f76a58ac779a9a51fcba07ba564abf494d8677d878efc4a WHIRLPOOL 95ca7a8b2e572db56cc9283f622d454926d9200e399fbbec97052f5cdc11d75e758b0180a1abb040c1061ebd8ee6b2fa910e5fde9e41fc0f0f511b0d127eeea7 +MISC ChangeLog 2848 SHA256 af83b03e627ea53a5e585f35b929c9980bb19ed6cbf68308f161c9e816ff8f4e SHA512 015c60b918f8735e4982ae25c7cc1a9f22ac0e1f7cc24dc808a2f2c2646a12818d2b4be8b0380b22662120889084c3c5daa4883913fffc36f039f4bbb427fa11 WHIRLPOOL 56398f946d71ca47363306df27c1ab81ff3c57aaa1e9f7e77e3539097ddd32b48cd60c3aaffa133914aa2bdbc8938890b53faf10f94d9de1ddb83c004ca39248 +MISC ChangeLog-2015 3631 SHA256 e291cd147c63c1440f6835e45668737749b198b0bd7cc0d0fc27c29b4897037f SHA512 a389c747d44cf6150e0851bcadad13e870799ccd7693776e253a60ec636380c33cac45203481a5864d352f9227d326b8ee17eae4d54931b2b5e871aacbb762f4 WHIRLPOOL 74dda5f4ee8fa2ebe5e6def84c8d992a9d3d7bf1cc3e5489141695093486c75ac726856e4cffd6af5d0ca6c63cbbd994235df17b12f56d76b54224bb809d85c0 +MISC metadata.xml 352 SHA256 74ba50f57d150ee1cfe377ec95cabdacef302d73843c88b0bbb19e814f3ea51d SHA512 f4fcf3273a1ac36af9d26ce85a5c859fd64b646ab8020fa2dcd4a6bd3120b1b0256d7485a7690458df1dd8a5a8f7d3a9037595d6b269cd4f065fb14a4d73fb68 WHIRLPOOL da6d861c40a1f9d7170378f79a011ed015b8ae2422d07599ed4807f38241feae0e16632637fa256e7214e90eebbb50e7da058f6dd6949069f2a10e734e6c54ca diff --git a/sys-apps/yum/metadata.xml b/sys-apps/yum/metadata.xml new file mode 100644 index 000000000000..22eb5e1427ef --- /dev/null +++ b/sys-apps/yum/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>pinkbyte@gentoo.org</email> + <name>Sergey Popov</name> + </maintainer> + <longdescription> + Automatic updater and package installer/remover for rpm systems + </longdescription> +</pkgmetadata> diff --git a/sys-apps/yum/yum-3.4.3_p20170619.ebuild b/sys-apps/yum/yum-3.4.3_p20170619.ebuild new file mode 100644 index 000000000000..25ff9b059b59 --- /dev/null +++ b/sys-apps/yum/yum-3.4.3_p20170619.ebuild @@ -0,0 +1,46 @@ +# 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="sqlite" +inherit python-single-r1 systemd + +DESCRIPTION="automatic updater and package installer/remover for rpm systems" +HOMEPAGE="http://yum.baseurl.org/" +SRC_URI="https://dev.gentoo.org/~pinkbyte/distfiles/snapshots/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~ppc ~x86" + +IUSE="test" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + app-arch/rpm[python,${PYTHON_USEDEP}] + dev-python/sqlitecachec[${PYTHON_USEDEP}] + dev-libs/libxml2[python,${PYTHON_USEDEP}] + dev-python/pyliblzma[${PYTHON_USEDEP}] + dev-python/urlgrabber[${PYTHON_USEDEP}]" + +DEPEND="${RDEPEND} + dev-util/intltool + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +src_prepare() { + sed -i -e 's/make/$(MAKE)/' Makefile || die + sed -i -e "s:lib:$(get_libdir):g" rpmUtils/Makefile yum/Makefile || die + default +} + +src_install() { + emake INIT=systemd UNITDIR="$(systemd_get_systemunitdir)" DESTDIR="${ED}" install + python_optimize "${D%/}$(python_get_sitedir)" "${ED%/}/usr/share/yum-cli" + rm -r "${ED%/}/etc/rc.d" || die + # bug #563850 + python_fix_shebang "${ED}/usr/bin/yum" +} |