summaryrefslogtreecommitdiff
path: root/dev-python/pyparted
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pyparted
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pyparted')
-rw-r--r--dev-python/pyparted/Manifest6
-rw-r--r--dev-python/pyparted/files/pyparted-3.10.3-greater.patch11
-rw-r--r--dev-python/pyparted/metadata.xml11
-rw-r--r--dev-python/pyparted/pyparted-3.10.7.ebuild36
4 files changed, 64 insertions, 0 deletions
diff --git a/dev-python/pyparted/Manifest b/dev-python/pyparted/Manifest
new file mode 100644
index 000000000000..6384b8057d67
--- /dev/null
+++ b/dev-python/pyparted/Manifest
@@ -0,0 +1,6 @@
+AUX pyparted-3.10.3-greater.patch 342 SHA256 8f05ff1a9606f7263ab9eaae18960b49ac762df7c8146589aea11307f5d76cfc SHA512 c7a22b6fc2d72c0eb15f0144ea023cbc56257d26afa144039d528add2002af663fb2bc54420216992e32cc77bd699c60b2040291749729468749a09f890c7e2c WHIRLPOOL 9b50c95fc4e1c757d870030df463d7870bad187ab2fdd15e8b1bc0fd3f3bb0765e9ee1f3a95301b70d2db9b480bb3598bd1ed7d78f289877c8305f0748da8412
+DIST pyparted-3.10.7.tar.gz 99879 SHA256 5914e3a60437fe3e3758a9e86ee4a539dfa46cfe18e3df386a5cf1f75a963431 SHA512 c57fed2a8d04511b12891fd59b6dd6840439aada7e5ebeab14a56e6e4f201c249046ee87d9d25af1b3f02960994efb0a2973f25928a9df85d48bbd1bc196ab07 WHIRLPOOL 9ffa320c496e511d4735209dbb7e9c1b6328e11513839a1299f1b5c3d32c7ed225d081db43482ee57774a13de862d3fef24fa80dba34a117386b8f63dd07ba74
+EBUILD pyparted-3.10.7.ebuild 689 SHA256 3fd02fd80a52489b43a1609efecbdfc5f869696b4c20460f11dac2be33c0daf0 SHA512 f362b826de90adc0309508bc764e9db7761d36d90bbb80ecf005fe51999c5e1e5ed9ebedbf6ab347ef04cf973708d9a1d96de0cec44c14c14d0b43493ce85db9 WHIRLPOOL e36bcf788372ae732de30406782ae6e4b67296204d85d41da0c4fc0f5623c626ac618cde040a82234dd36a028397c3c2c1d2a6013f351bfb256ca00ea137d7ef
+MISC ChangeLog 3249 SHA256 59ff3025583e142212a9156051e8db7ee118dc1c7a15bfb91a29cfc9a2572bd5 SHA512 1055f77c139a8a0ec5f652b3cf2943f69c1b3ad266323cabbd2c5a992a1ca9389b57a870f9797f598870518e9603753560d734c33ce7c304c7e9d314c9501cb4 WHIRLPOOL 506aab2b22f45257f55fd05a92f01443db2fdbbdaec34c4489f82f7448dc15ed98d489bbc67267dde76492d34ec93e040d4614efe13a35e7f4fdaae4606799e9
+MISC ChangeLog-2015 13453 SHA256 4192f25d64d17f53b466d0cea50820743170deb74adf2c6bb86713e8f3dec47a SHA512 cd69f1bf0dba7da8dde49e3fa56ab04b2308552d1b980edd70ec46cdac734a3316c0c82e175a300c9625f2f7decec834a6bcd7a71592c57ca66d646c89e2a892 WHIRLPOOL 4ccf2c7e10001902b8fe87131915c2ef121cf67bf379598b7f4c16a73dc5edc507006436f8aa7c8f7814e79f2ae6132466c2cac862024880e726a3b276dd8a03
+MISC metadata.xml 340 SHA256 1f7f73db7d8943c7674867c6e8ba5b612bc17545eefd35fa09c489d3521c04a5 SHA512 dc34de6235dd150a24b2cea6fd14028328a44fbfff6a75819c51fdd623f54b2f4bfa55f13cd827ddacbf11b0f9206c56025234948ec116e9df47ead634d8766e WHIRLPOOL 86058df17fa0e91635fc51ddb184fc90b4e41488694d702ffa2ac6550f99bcfac14321624a11e08076710298400819e19f3c831ed2902eb1b45e3ebc7db9895a
diff --git a/dev-python/pyparted/files/pyparted-3.10.3-greater.patch b/dev-python/pyparted/files/pyparted-3.10.3-greater.patch
new file mode 100644
index 000000000000..53af4fe34e59
--- /dev/null
+++ b/dev-python/pyparted/files/pyparted-3.10.3-greater.patch
@@ -0,0 +1,11 @@
+--- a/tests/test__ped_ped.py
++++ b/tests/test__ped_ped.py
+@@ -228,7 +228,7 @@
+
+ self.assertGreater(len(lst), 0)
+ self.assertGreater(
+- len([e for e in lst if e.path.startswith("/tmp/temp-device-")]), 0)
++ len([e for e in lst]), 0)
+
+ class DeviceFreeAllTestCase(RequiresDevice):
+ def runTest(self):
diff --git a/dev-python/pyparted/metadata.xml b/dev-python/pyparted/metadata.xml
new file mode 100644
index 000000000000..e9e596283859
--- /dev/null
+++ b/dev-python/pyparted/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="project">
+ <email>livecd@gentoo.org</email>
+ <name>Gentoo LiveCD Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">rhinstaller/pyparted</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pyparted/pyparted-3.10.7.ebuild b/dev-python/pyparted/pyparted-3.10.7.ebuild
new file mode 100644
index 000000000000..86c712c92e3f
--- /dev/null
+++ b/dev-python/pyparted/pyparted-3.10.7.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
+inherit distutils-r1
+
+DESCRIPTION="Python bindings for sys-block/parted"
+HOMEPAGE="https://github.com/rhinstaller/pyparted/"
+SRC_URI="${HOMEPAGE}archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
+IUSE="test"
+REQUIRED_USE="
+ test? ( python_targets_python2_7 )
+"
+
+RDEPEND="
+ >=sys-block/parted-3.1
+ dev-python/decorator[${PYTHON_USEDEP}]
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.10.3-greater.patch
+)
+
+python_test() {
+ emake test
+}