diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/pyparted | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/pyparted')
| -rw-r--r-- | dev-python/pyparted/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/pyparted/files/pyparted-3.10.3-greater.patch | 11 | ||||
| -rw-r--r-- | dev-python/pyparted/metadata.xml | 12 | ||||
| -rw-r--r-- | dev-python/pyparted/pyparted-3.10.7.ebuild | 34 | ||||
| -rw-r--r-- | dev-python/pyparted/pyparted-3.11.6.ebuild | 26 | ||||
| -rw-r--r-- | dev-python/pyparted/pyparted-999999.ebuild | 30 |
6 files changed, 115 insertions, 0 deletions
diff --git a/dev-python/pyparted/Manifest b/dev-python/pyparted/Manifest new file mode 100644 index 000000000000..326c0ade048b --- /dev/null +++ b/dev-python/pyparted/Manifest @@ -0,0 +1,2 @@ +DIST pyparted-3.10.7.tar.gz 99879 BLAKE2B f2d03415ec7623fbe25aeab70e53646aa5e576e9f20ac41ffe6c859be9572874579f5720b8d05191107f4143e2c6dd14d83a05798a345fa0ed8a81ce2634f599 SHA512 c57fed2a8d04511b12891fd59b6dd6840439aada7e5ebeab14a56e6e4f201c249046ee87d9d25af1b3f02960994efb0a2973f25928a9df85d48bbd1bc196ab07 +DIST pyparted-3.11.6.tar.gz 105633 BLAKE2B 8c74fb3521f94cf726365e91954c56a60bc418c0e18c3401dc525f942169b1c03ade5fa35d5053daf4a4568b373e9a8771e50c76ea5b51c2f6351ce62ed2bb21 SHA512 8c3a86efb21c212a8f227ae324896552f45568b8facdd76729f5acf15bf7d691c1b9ab9e46885e4fa4e0c4c7d60314e2abfcbff212e5dc158d27ce716dbd50fa 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..a375ad638bc5 --- /dev/null +++ b/dev-python/pyparted/metadata.xml @@ -0,0 +1,12 @@ +<?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> + <origin>gentoo-staging</origin> +</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..3f2af33a2dc7 --- /dev/null +++ b/dev-python/pyparted/pyparted-3.10.7.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_6 ) +inherit distutils-r1 + +DESCRIPTION="Python bindings for sys-block/parted" +HOMEPAGE="https://github.com/rhinstaller/pyparted/" +SRC_URI="https://github.com/rhinstaller/pyparted/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" +IUSE="test" +RESTRICT="test" + +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 +} diff --git a/dev-python/pyparted/pyparted-3.11.6.ebuild b/dev-python/pyparted/pyparted-3.11.6.ebuild new file mode 100644 index 000000000000..0d86d2409a49 --- /dev/null +++ b/dev-python/pyparted/pyparted-3.11.6.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit distutils-r1 + +DESCRIPTION="Python bindings for sys-block/parted" +HOMEPAGE="https://github.com/rhinstaller/pyparted/" +SRC_URI="https://github.com/rhinstaller/pyparted/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + >=sys-block/parted-3.2 + dev-python/decorator[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + test? ( dev-python/six[${PYTHON_USEDEP}] ) + virtual/pkgconfig +" + +distutils_enable_tests unittest diff --git a/dev-python/pyparted/pyparted-999999.ebuild b/dev-python/pyparted/pyparted-999999.ebuild new file mode 100644 index 000000000000..edc745ca9d65 --- /dev/null +++ b/dev-python/pyparted/pyparted-999999.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,8} ) +inherit distutils-r1 flag-o-matic git-r3 + +DESCRIPTION="Python bindings for sys-block/parted" +HOMEPAGE="https://github.com/rhinstaller/pyparted/" +EGIT_REPO_URI="https://github.com/rhinstaller/pyparted/" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="" + +RDEPEND=" + >=sys-block/parted-3.1 + dev-python/decorator[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +distutils_enable_tests unittest + +src_configure() { + append-cflags -fcommon + default +} |
