diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-python/pyxattr | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pyxattr')
-rw-r--r-- | dev-python/pyxattr/Manifest | 7 | ||||
-rw-r--r-- | dev-python/pyxattr/files/pyxattr-0.6.0-xattr_header.patch | 53 | ||||
-rw-r--r-- | dev-python/pyxattr/metadata.xml | 19 | ||||
-rw-r--r-- | dev-python/pyxattr/pyxattr-0.5.5.ebuild | 55 | ||||
-rw-r--r-- | dev-python/pyxattr/pyxattr-0.6.0-r1.ebuild | 69 | ||||
-rw-r--r-- | dev-python/pyxattr/pyxattr-0.6.0.ebuild | 55 |
6 files changed, 0 insertions, 258 deletions
diff --git a/dev-python/pyxattr/Manifest b/dev-python/pyxattr/Manifest deleted file mode 100644 index c1200acfc073..000000000000 --- a/dev-python/pyxattr/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX pyxattr-0.6.0-xattr_header.patch 1780 BLAKE2B 43244b281bec7166d539155c66e604c907f2e74197414422c9486c93bec84ba8f4515afd20eb6bdcb898207200da4d1071489a7390a14e835531816a5b458865 SHA512 24531ff4fb116c69b8ab3e432753bad2d0b704c86ec21efe69741f2d34ced24c6a580872acab0e063f3be3dfad4f91199bf61fb8d1485d1c86a9266f7c163cd9 -DIST pyxattr-0.5.5.tar.gz 26718 BLAKE2B b8d599ed0194fec4809ebdb8277fa4023e932ed49a8a6253a7c6a879250a73330334bd8a72b0c9d9bfd828cac1454659d23b55b5e608bfe0109392988709beb8 SHA512 77b732a7e524a7c31a0511df2c96c18b214f93c6ac47276ecdf12ed95133ee506fa882b2532a7159aa2f4e02a7128e33bb8883ea632a5394297d98fb28898327 -DIST pyxattr-0.6.0.tar.gz 31057 BLAKE2B cf6e99c499dbcc74305970413803e5cf59508e7ee1bf247afe42e576c2dfaf118a374ad6f8721b9d9c482f8be0c222d26b82997dc1ccc79248d5f52b2064ed8d SHA512 c56bf57729b5f8c8e3e19e29fd903b7365c6644abe3dcebf57ffc2f97a1e92d0e22cdc0a967c5abee3a74ba61a2a379e31a1734f45449095bdb7895b8357a9bb -EBUILD pyxattr-0.5.5.ebuild 1438 BLAKE2B e2d3d5db037f6c151f0b04a7bba09f15b4cb7b65e7a2d95f79746c42b9b71fd1071b1ae580efddec000962aa037a5b29ac6b6b3f05e315d1aad9e932e964b13c SHA512 82a2ba279df41958c198df3bdccd3e11afc3b8f9e21dc47395bb248cc496c1e4ffc90f0c079bc1ecc4c15f09e5b1794b0c4f16351db7d4b5a54c641017dee184 -EBUILD pyxattr-0.6.0-r1.ebuild 1969 BLAKE2B 5d317733affbf17303f534f80c0d0b0518171f7ae2121c42f55aa5612bd0d13fa8f751cb7b386535a35eda4f5239e670a82fa62b5d39c76a8fbc3091030e2114 SHA512 244661b68f85b4db0b913f9449a50de9b7b43b52f1d641807ea0d6d946728aa871a0751f8e865c2eec0e38b1a9fd44bf9846a875c1d0b524e2f21dc39365c724 -EBUILD pyxattr-0.6.0.ebuild 1453 BLAKE2B a5eeb237b3d96522ae101d2616b04848ff215ab02f2598d9af348f6f10a47c3a8b6493173c9a2ba7474f74b7fdd255f840aafc7342c608f931e8c74152b0ef1e SHA512 f8a07d34395d66ac643a66360fc2bf28506b62f2be62ab4bdcb8514f81c3831987740a646a384c520e2468f75a06b46a279db7a64ce39eff9dceab4ebe27f369 -MISC metadata.xml 609 BLAKE2B 8f3429390129e4438c5bb4c8d82ae11e9824863d4b200a57d660d0ae93692711b96c6cbcfd9e7e8ad46848beba86dd2ee971acde59c08c9fc6f317283358157f SHA512 8a18175143b319bf6f623304ad8f534ad34eaf8b67c57ee1addb8886e34d79bd3a74723bce4f66fb5e9e3dad4768aaf253cec8fb8e97365f152d0b8f772d7df6 diff --git a/dev-python/pyxattr/files/pyxattr-0.6.0-xattr_header.patch b/dev-python/pyxattr/files/pyxattr-0.6.0-xattr_header.patch deleted file mode 100644 index 89b18730c3d9..000000000000 --- a/dev-python/pyxattr/files/pyxattr-0.6.0-xattr_header.patch +++ /dev/null @@ -1,53 +0,0 @@ -From cc0bc63b291ee1a831f07c81946149dbe8c8146d Mon Sep 17 00:00:00 2001 -From: Lars Wendler <polynomial-c@gentoo.org> -Date: Wed, 10 Jan 2018 11:45:35 +0100 -Subject: [PATCH] xattr.c: There is no more attr/xattr.h with >=attr-2.4.48 - -See also: -http://git.savannah.nongnu.org/cgit/attr.git/commit/?id=7921157890d07858d092f4003ca4c6bae9fd2c38 ---- - xattr.c | 13 +++---------- - 1 file changed, 3 insertions(+), 10 deletions(-) - -diff --git a/xattr.c b/xattr.c -index 111cec1..c82ee32 100644 ---- a/xattr.c -+++ b/xattr.c -@@ -23,10 +23,8 @@ - - #define PY_SSIZE_T_CLEAN - #include <Python.h> --#if defined(__APPLE__) -+#if defined(__APPLE__) || defined(__linux__) - #include <sys/xattr.h> --#elif defined(__linux__) --#include <attr/xattr.h> - #endif - #include <stdio.h> - -@@ -642,11 +640,7 @@ get_all(PyObject *self, PyObject *args, PyObject *keywds) - /* Now retrieve the attribute value */ - nval = _generic_get(_get_obj, &tgt, s, &buf_val, &nalloc, &io_errno); - if (nval == -1) { -- if ( --#ifdef ENODATA -- io_errno == ENODATA || --#endif -- io_errno == ENOATTR) { -+ if (io_errno == ENODATA) { - PyErr_Clear(); - continue; - } else { -@@ -1173,8 +1167,7 @@ static char __xattr_doc__[] = \ - " a :exc:`EnvironmentError`; under\n" - " Linux, the following ``errno`` values are used:\n" - "\n" -- " - ``ENOATTR`` and ``ENODATA`` mean that the attribute name is\n" -- " invalid\n" -+ " - ``ENODATA`` means that the attribute name is\n invalid\n" - " - ``ENOTSUP`` and ``EOPNOTSUPP`` mean that the filesystem does not\n" - " support extended attributes, or that the namespace is invalid\n" - " - ``E2BIG`` mean that the attribute value is too big\n" --- -2.16.0.rc1 - diff --git a/dev-python/pyxattr/metadata.xml b/dev-python/pyxattr/metadata.xml deleted file mode 100644 index 5e008f975b7f..000000000000 --- a/dev-python/pyxattr/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <longdescription> - pyxattr is an Python extension module wrapper for libattr. You can - use this module to query, list, add and remove extended attributes - from files and directories -</longdescription> - <maintainer type="person"> - <email>robbat2@gentoo.org</email> - </maintainer> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <upstream> - <remote-id type="pypi">pyxattr</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/pyxattr/pyxattr-0.5.5.ebuild b/dev-python/pyxattr/pyxattr-0.5.5.ebuild deleted file mode 100644 index 443601b32e01..000000000000 --- a/dev-python/pyxattr/pyxattr-0.5.5.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{4,5} pypy ) - -inherit distutils-r1 eutils - -DESCRIPTION="Python interface to xattr" -HOMEPAGE="https://pyxattr.k1024.org/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz - https://pyxattr.k1024.org/downloads/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux" -IUSE="doc test" - -RDEPEND="sys-apps/attr" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}] ) - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -python_prepare_all() { - sed -i -e 's:, "-Werror"::' setup.py || die - # Bug 548486 - sed -e "s:html_theme = 'default':html_theme = 'classic':" \ - -i doc/conf.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && emake doc -} - -src_test() { - # Perform the tests in /var/tmp; that location is more likely - # to have xattr support than /tmp which is often tmpfs. - export TESTDIR=/var/tmp - - einfo 'Please note that the tests fail if xattrs are not supported' - einfo 'by the filesystem used for /var/tmp.' - distutils-r1_src_test -} - -python_test() { - nosetests || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/pyxattr/pyxattr-0.6.0-r1.ebuild b/dev-python/pyxattr/pyxattr-0.6.0-r1.ebuild deleted file mode 100644 index 0830703a29fd..000000000000 --- a/dev-python/pyxattr/pyxattr-0.6.0-r1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) - -inherit distutils-r1 eutils - -DESCRIPTION="Python interface to xattr" -HOMEPAGE="https://pyxattr.k1024.org/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz - https://pyxattr.k1024.org/downloads/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux" -IUSE="doc test" - -RDEPEND="sys-apps/attr" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}] ) - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -PATCHES=( - "${FILESDIR}/${PN}-0.6.0-xattr_header.patch" -) - -python_prepare_all() { - sed -i -e 's:, "-Werror"::' setup.py || die - # Bug 548486 - sed -e "s:html_theme = 'default':html_theme = 'classic':" \ - -i doc/conf.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && emake doc -} - -src_test() { - # Perform the tests in /var/tmp; that location is more likely - # to have xattr support than /tmp which is often tmpfs. - local -x TEST_DIR="${TEST_DIR:-/var/tmp}" - # Ignore selinux attributes by default, bug #503946. - local -x TEST_IGNORE_XATTRS="${TEST_IGNORE_XATTRS:-security.selinux}" - - einfo "Please note that the tests fail if xattrs are not supported" - einfo "by the filesystem used for ${TEST_DIR}." - einfo - einfo "The location for tests can be overriden using TEST_DIR variable:" - einfo " $ export TEST_DIR=/my/test/place" - einfo - einfo "Additionally, TEST_IGNORE_XATTRS can be set to control which" - einfo "external attributes are ignored by the tests." - einfo "See https://bugs.gentoo.org/503946 for details." - einfo - distutils-r1_src_test -} - -python_test() { - nosetests -v || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/pyxattr/pyxattr-0.6.0.ebuild b/dev-python/pyxattr/pyxattr-0.6.0.ebuild deleted file mode 100644 index daa8071fc78c..000000000000 --- a/dev-python/pyxattr/pyxattr-0.6.0.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) - -inherit distutils-r1 eutils - -DESCRIPTION="Python interface to xattr" -HOMEPAGE="https://pyxattr.k1024.org/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz - https://pyxattr.k1024.org/downloads/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" -IUSE="doc test" - -RDEPEND="sys-apps/attr" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}] ) - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -python_prepare_all() { - sed -i -e 's:, "-Werror"::' setup.py || die - # Bug 548486 - sed -e "s:html_theme = 'default':html_theme = 'classic':" \ - -i doc/conf.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && emake doc -} - -src_test() { - # Perform the tests in /var/tmp; that location is more likely - # to have xattr support than /tmp which is often tmpfs. - export TESTDIR=/var/tmp - - einfo 'Please note that the tests fail if xattrs are not supported' - einfo 'by the filesystem used for /var/tmp.' - distutils-r1_src_test -} - -python_test() { - nosetests || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/html/. ) - distutils-r1_python_install_all -} |