summaryrefslogtreecommitdiff
path: root/dev-python/pyxattr
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-08-04 08:53:53 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-08-04 08:53:53 +0100
commite3872864be25f7421015bef2732fa57c0c9fb726 (patch)
tree9cb29a544215119b5c5538e37211b994ce1c87ae /dev-python/pyxattr
parent480486b52ea64765faf696c88b2c6a26a5a454d4 (diff)
gentoo resync : 04.08.2018
Diffstat (limited to 'dev-python/pyxattr')
-rw-r--r--dev-python/pyxattr/Manifest5
-rw-r--r--dev-python/pyxattr/pyxattr-0.5.5.ebuild55
-rw-r--r--dev-python/pyxattr/pyxattr-0.6.1.ebuild (renamed from dev-python/pyxattr/pyxattr-0.6.0.ebuild)22
3 files changed, 18 insertions, 64 deletions
diff --git a/dev-python/pyxattr/Manifest b/dev-python/pyxattr/Manifest
index 68aeabbfa9bb..a605866c7a28 100644
--- a/dev-python/pyxattr/Manifest
+++ b/dev-python/pyxattr/Manifest
@@ -1,7 +1,6 @@
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
+DIST pyxattr-0.6.1.tar.gz 32105 BLAKE2B 0334d056ea652492fcc7958e0caf0ec438253e287c3f2ee663c0eb059fad5f01bba02963fc90035f84c129e19ee08e11bbc5573cebef6fd7ffe5c65adddc02ab SHA512 2c2defee81e2bd7e7e7f67d33676858f27494f12ba5c3d34bd548912a058cae562e9e9ed0dc5697892d1d55c29f2a5e10455260092b63faa54e40b841c42681d
EBUILD pyxattr-0.6.0-r1.ebuild 1971 BLAKE2B 1fc033ef38e9b0e0b2000138709504bbcc9b5b1d9ef2db2c719718046ac302384b71307b6283809cfd40c1755a3c34f902bcfd204c6ff88c11d97bdb8b86394b SHA512 46ef19addc2a7639ddcd56104228f2e9f26efc3397b4420bd7ec96d17493622c4a38f2d637452a5c9cbf8b56686b7f6696c266e5940be9c6d98b4fd0e4824200
-EBUILD pyxattr-0.6.0.ebuild 1453 BLAKE2B a5eeb237b3d96522ae101d2616b04848ff215ab02f2598d9af348f6f10a47c3a8b6493173c9a2ba7474f74b7fdd255f840aafc7342c608f931e8c74152b0ef1e SHA512 f8a07d34395d66ac643a66360fc2bf28506b62f2be62ab4bdcb8514f81c3831987740a646a384c520e2468f75a06b46a279db7a64ce39eff9dceab4ebe27f369
+EBUILD pyxattr-0.6.1.ebuild 1925 BLAKE2B cf663d8f195d41cee61902ebcfe1c90892fc964a3407b98f48a249c4c8a11545b418adaec505ac1798366c6e6a29d6a43a976e37ac40a1de748e7486213e03f0 SHA512 3a6b1188e49a3819408fb746e59b4e597a38aa7be5873d1bc87b2b40f45024521ddd6cf91cbf5c83d5ab2a698809a611ee337aecbeb7b81eb46eb013bc085a15
MISC metadata.xml 609 BLAKE2B 8f3429390129e4438c5bb4c8d82ae11e9824863d4b200a57d660d0ae93692711b96c6cbcfd9e7e8ad46848beba86dd2ee971acde59c08c9fc6f317283358157f SHA512 8a18175143b319bf6f623304ad8f534ad34eaf8b67c57ee1addb8886e34d79bd3a74723bce4f66fb5e9e3dad4768aaf253cec8fb8e97365f152d0b8f772d7df6
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.ebuild b/dev-python/pyxattr/pyxattr-0.6.1.ebuild
index daa8071fc78c..295830a83ed7 100644
--- a/dev-python/pyxattr/pyxattr-0.6.0.ebuild
+++ b/dev-python/pyxattr/pyxattr-0.6.1.ebuild
@@ -1,8 +1,8 @@
# 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 )
+EAPI=7
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy )
inherit distutils-r1 eutils
@@ -38,15 +38,25 @@ python_compile_all() {
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
+ 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 /var/tmp.'
+ 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 || die "Tests fail with ${EPYTHON}"
+ nosetests -v || die "Tests fail with ${EPYTHON}"
}
python_install_all() {