diff options
Diffstat (limited to 'dev-python/pyxattr')
-rw-r--r-- | dev-python/pyxattr/Manifest | 8 | ||||
-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.ebuild | 55 | ||||
-rw-r--r-- | dev-python/pyxattr/pyxattr-9999.ebuild | 37 |
5 files changed, 174 insertions, 0 deletions
diff --git a/dev-python/pyxattr/Manifest b/dev-python/pyxattr/Manifest new file mode 100644 index 000000000000..2d54f55a8540 --- /dev/null +++ b/dev-python/pyxattr/Manifest @@ -0,0 +1,8 @@ +DIST pyxattr-0.5.5.tar.gz 26718 SHA256 132297c35261dd74b2ae2bd558e725b04834bbdf60997495e0110e255f5f2a3f SHA512 77b732a7e524a7c31a0511df2c96c18b214f93c6ac47276ecdf12ed95133ee506fa882b2532a7159aa2f4e02a7128e33bb8883ea632a5394297d98fb28898327 WHIRLPOOL 42db6c0d603f5bfca951a39194e5b95d4285a68b4c5e3f77ffe806fb5f05e46ce2f12dadc2d598c40178b68b83ee947b50474c7c026dc8e40378fc9c552a5180 +DIST pyxattr-0.6.0.tar.gz 31057 SHA256 09d00ee4235841a5d7d6275837c5cfc37a8b68efdd663f588505fff5a8c46ea8 SHA512 c56bf57729b5f8c8e3e19e29fd903b7365c6644abe3dcebf57ffc2f97a1e92d0e22cdc0a967c5abee3a74ba61a2a379e31a1734f45449095bdb7895b8357a9bb WHIRLPOOL aa312257d527a890c0aea65317d11ad0b6065b28aea18cc84f181cd1476de8cd31bf14af9c60bb0804a37283985830655c4d5ae9c16faec099572fb067c306f7 +EBUILD pyxattr-0.5.5.ebuild 1436 SHA256 46cf69c43f6adfaee56e9a533c0a62b403a5c2f2d1356e5d2755d121f2792ffc SHA512 f468797e54126048d73e709c2df49eaa15e7585995e906d8aade168d51289acfc11f201ac9010ece8bfef5080ae305f3a61ba393389041bf25b9884e75c6d830 WHIRLPOOL 3d061b2257b33d2c754840da5ea4bd8051ec20c27b0e710d47f9c6d0df3de337a8de7e4aeee7991495f03dca9fe05ba870cef1f33ad570b3b6d2cc6f40f20c52 +EBUILD pyxattr-0.6.0.ebuild 1451 SHA256 2cb9368d569a822f95fb845b4b8425c36e8b037597e62ade71e71841fb1266e3 SHA512 8aa97fc46e8eb5df5faf1df7f6560749bfb1c6fedb42e6dab01a2f9f0549af095ea37f9d7bfd2a76bee321621632754c6a5d4545b44d3f0ffe3a7d25b117c3cf WHIRLPOOL ea96ba2f9cb8ecfe65306d93bc5a9d820120d037a5c99f2b2db2dd48ebb6f0fc022dff889328ba1c3b2ff27ec6db8a1a618fda3105a49a3ed9512c240d14129f +EBUILD pyxattr-9999.ebuild 890 SHA256 0f8e4c2a2934b819720c5be3529561290615fddce8325c3f82e502408c05b712 SHA512 2a1bcc94699a19d51aaf914a728e69ef0c38a4ca08b1d151e5de5067bffbf24b4e8f35b1c4ebc934763676fb2065e27cdf9dc0769fc152bea1b0d8d596fc2402 WHIRLPOOL fb9e2c68c26be2c2d20fce5a229fc90c13e31c0929d84595c40a41bb91df1ccf04490fda542c00b99135f0a25f7f265792670a98a34324784c2cd1e6787e4f06 +MISC ChangeLog 5911 SHA256 768099c0ac1b818c5d129d03e946578785d361e453a8d3436722aa362f99cc09 SHA512 35b0505c406c44c4a449e6d73f8ceb1b342d3da3bd455ad067437b84c67d046c830c5c3d7fff6055ab9b66cb547e5936de5ef07740102a4a2dfad830b2b478ab WHIRLPOOL 65a3cc8295025797d8b94d38e5b362668eac6b00724ee1f366a6f0ede95ae669fb8b7f92005e137a5c0ea9319646eb0faeaf660a74f483f633c3f479529059f3 +MISC ChangeLog-2015 9085 SHA256 b1f5875adef800a67d890b524a8f8cc37c9249624ea3db3973bcad7412a38a86 SHA512 ea42863b3d4e1994b09fed645641487f002429a6e8daf5a3fbfbc95a4a6c08067483289cf859c060602eb54383b764450bcc8909404544732b2e922e7ba692ed WHIRLPOOL 4883f557244b344c4a9ada11c312926113236dd0c828f447efd10ab57d335ed5cf0d0dde25e7cf1ac8354360a95da2a35cffa3f0c161aea351e54b73b6d5aa46 +MISC metadata.xml 609 SHA256 ecffde674ba73dc7439ee578a308a8721aa14599ed3a0b416abf906b8069cf73 SHA512 8a18175143b319bf6f623304ad8f534ad34eaf8b67c57ee1addb8886e34d79bd3a74723bce4f66fb5e9e3dad4768aaf253cec8fb8e97365f152d0b8f772d7df6 WHIRLPOOL 7f8fa51c1bccca6f5f4cd7f66e23a38df3db20b3c32c3a07420da98fe4a6dbc9ff9156b7c7eba1bec1b12dd4d6281a892e594d960934af3560386f7b6a3d6c8f diff --git a/dev-python/pyxattr/metadata.xml b/dev-python/pyxattr/metadata.xml new file mode 100644 index 000000000000..5e008f975b7f --- /dev/null +++ b/dev-python/pyxattr/metadata.xml @@ -0,0 +1,19 @@ +<?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 new file mode 100644 index 000000000000..bb91bfed6a70 --- /dev/null +++ b/dev-python/pyxattr/pyxattr-0.5.5.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 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="http://pyxattr.k1024.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz + http://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.0.ebuild new file mode 100644 index 000000000000..dd442451271d --- /dev/null +++ b/dev-python/pyxattr/pyxattr-0.6.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 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="http://pyxattr.k1024.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz + http://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-9999.ebuild b/dev-python/pyxattr/pyxattr-9999.ebuild new file mode 100644 index 000000000000..4d14a6c4e273 --- /dev/null +++ b/dev-python/pyxattr/pyxattr-9999.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) + +inherit distutils-r1 eutils git-r3 + +DESCRIPTION="Python interface to xattr" +HOMEPAGE="http://pyxattr.k1024.org/" +SRC_URI="" +EGIT_REPO_URI="https://github.com/iustin/${PN}.git" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="" +IUSE="test" + +RDEPEND="sys-apps/attr" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +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}" +} |