diff options
author | Gregory M. Tuner <gmt@be-evil.net> | 2014-01-23 16:00:36 -0800 |
---|---|---|
committer | Gregory M. Tuner <gmt@be-evil.net> | 2014-01-23 16:00:36 -0800 |
commit | 3ab3f2aa78b49a6718eef0449b6586c0433a8abf (patch) | |
tree | b31ef72d44361081d90a32ba0b974fbf9e431bb0 /dev-python | |
parent | dev-cpp/at-spi2-core: remove 2.10.2 clone (premature clonification) (diff) | |
download | gmt-3ab3f2aa78b49a6718eef0449b6586c0433a8abf.tar.gz gmt-3ab3f2aa78b49a6718eef0449b6586c0433a8abf.tar.bz2 gmt-3ab3f2aa78b49a6718eef0449b6586c0433a8abf.zip |
dev-python/pyxattr: clone upstream
Signed-off-by: Gregory M. Tuner <gmt@be-evil.net>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pyxattr/ChangeLog | 202 | ||||
-rw-r--r-- | dev-python/pyxattr/Manifest | 5 | ||||
-rw-r--r-- | dev-python/pyxattr/files/pyxattr-0.5.1-test-bytes.patch | 19 | ||||
-rw-r--r-- | dev-python/pyxattr/metadata.xml | 16 | ||||
-rw-r--r-- | dev-python/pyxattr/pyxattr-0.5.2-r1.ebuild | 43 |
5 files changed, 285 insertions, 0 deletions
diff --git a/dev-python/pyxattr/ChangeLog b/dev-python/pyxattr/ChangeLog new file mode 100644 index 0000000..780284d --- /dev/null +++ b/dev-python/pyxattr/ChangeLog @@ -0,0 +1,202 @@ +# ChangeLog for dev-python/pyxattr +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxattr/ChangeLog,v 1.60 2014/01/20 17:23:58 floppym Exp $ + + 20 Jan 2014; Mike Gilbert <floppym@gentoo.org> -pyxattr-0.5.0-r1.ebuild, + -pyxattr-0.5.0.ebuild, -pyxattr-0.5.1.ebuild: + Remove old. + + 13 Oct 2013; Pacho Ramos <pacho@gentoo.org> pyxattr-0.5.2.ebuild: + Also compatible with python3_3 + + 05 Sep 2013; Michał Górny <mgorny@gentoo.org> pyxattr-0.5.0-r1.ebuild, + pyxattr-0.5.1.ebuild, pyxattr-0.5.2.ebuild, pyxattr-9999.ebuild: + Clean up PYTHON_COMPAT from old implementations. + + 14 Apr 2013; Agostino Sarubbo <ago@gentoo.org> pyxattr-0.5.2.ebuild: + Stable for ppc64, wrt bug #458436 + + 14 Apr 2013; Agostino Sarubbo <ago@gentoo.org> pyxattr-0.5.2.ebuild: + Stable for ppc, wrt bug #458436 + + 14 Apr 2013; Agostino Sarubbo <ago@gentoo.org> pyxattr-0.5.2.ebuild: + Stable for sh, wrt bug #458436 + + 13 Apr 2013; Agostino Sarubbo <ago@gentoo.org> pyxattr-0.5.2.ebuild: + Stable for s390, wrt bug #458436 + + 13 Apr 2013; Agostino Sarubbo <ago@gentoo.org> pyxattr-0.5.2.ebuild: + Stable for sparc, wrt bug #458436 + + 12 Apr 2013; Agostino Sarubbo <ago@gentoo.org> pyxattr-0.5.2.ebuild: + Stable for ia64, wrt bug #458436 + + 12 Apr 2013; Agostino Sarubbo <ago@gentoo.org> pyxattr-0.5.2.ebuild: + Stable for arm, wrt bug #458436 + + 12 Apr 2013; Agostino Sarubbo <ago@gentoo.org> pyxattr-0.5.2.ebuild: + Stable for alpha, wrt bug #458436 + + 06 Apr 2013; Agostino Sarubbo <ago@gentoo.org> pyxattr-0.5.2.ebuild: + Stable for amd64, wrt bug #458436 + + 05 Apr 2013; Agostino Sarubbo <ago@gentoo.org> pyxattr-0.5.2.ebuild: + Stable for x86, wrt bug #458436 + + 22 Mar 2013; Jeroen Roovers <jer@gentoo.org> pyxattr-0.5.0.ebuild, + pyxattr-0.5.0-r1.ebuild, pyxattr-0.5.1.ebuild, pyxattr-0.5.2.ebuild: + Stable for HPPA (bug #458436). + + 22 Feb 2013; Zac Medico <zmedico@gentoo.org> pyxattr-0.5.2.ebuild, + pyxattr-9999.ebuild: + Add ~arm-linux keywords. + +*pyxattr-0.5.2 (03 Jan 2013) + + 03 Jan 2013; Michał Górny <mgorny@gentoo.org> +pyxattr-0.5.2.ebuild: + Version bump. + +*pyxattr-9999 (03 Jan 2013) + + 03 Jan 2013; Michał Górny <mgorny@gentoo.org> +pyxattr-9999.ebuild: + Introduce a live ebuild to make testing HEAD easier. + + 22 Dec 2012; Zac Medico <zmedico@gentoo.org> pyxattr-0.5.1.ebuild: + Add pypy{1_9,2_0} to PYTHON_COMPAT, since they appear to work. + + 22 Dec 2012; Mike Gilbert <floppym@gentoo.org> + +files/pyxattr-0.5.1-test-bytes.patch, pyxattr-0.5.1.ebuild: + Add patch to fix tests with pyyhon2.5. + + 21 Dec 2012; Mike Gilbert <floppym@gentoo.org> metadata.xml: + Add remote-id to metadata. + +*pyxattr-0.5.1 (21 Dec 2012) + + 21 Dec 2012; Mike Gilbert <floppym@gentoo.org> +pyxattr-0.5.1.ebuild, + pyxattr-0.5.0-r1.ebuild: + Version bump, resolves bug 448082. Drop python3.2 from 0.5.0 again. + + 21 Dec 2012; Mike Gilbert <floppym@gentoo.org> pyxattr-0.5.0-r1.ebuild, + pyxattr-0.5.0.ebuild: + Do not need setuptools. + + 21 Dec 2012; Mike Gilbert <floppym@gentoo.org> pyxattr-0.5.0-r1.ebuild: + Add python3_2 to PYTHON_COMPAT. + +*pyxattr-0.5.0-r1 (21 Dec 2012) + + 21 Dec 2012; Michał Górny <mgorny@gentoo.org> +pyxattr-0.5.0-r1.ebuild: + Migrate to distutils-r1. Partially address xattr-related test failures. + + 14 Jun 2012; Anthony G. Basile <blueness@gentoo.org> pyxattr-0.5.0.ebuild: + Keyword ~mips, bug #402215 + + 14 Apr 2012; Zac Medico <zmedico@gentoo.org> pyxattr-0.5.0.ebuild: + Add ~amd64-linux keyword. + + 08 Apr 2012; Raúl Porcel <armin76@gentoo.org> pyxattr-0.5.0.ebuild: + alpha/m68k/s390 stable + + 10 Dec 2011; Zac Medico <zmedico@gentoo.org> pyxattr-0.5.0.ebuild: + Add ~x86-linux keyword. + + 18 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + pyxattr-0.5.0.ebuild: + Restrict Jython ABIs. Use DISTUTILS_SRC_TEST. + + 18 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -pyxattr-0.4.0.ebuild: + Delete. + + 18 Jul 2010; <nixnut@gentoo.org> pyxattr-0.5.0.ebuild: + ppc stable #315147 + + 10 Jul 2010; Markos Chandras <hwoarang@gentoo.org> pyxattr-0.5.0.ebuild: + Stable on amd64 wrt bug #315147 + + 06 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> pyxattr-0.5.0.ebuild: + ppc64 stable wrt #315147 + + 19 May 2010; Raúl Porcel <armin76@gentoo.org> pyxattr-0.5.0.ebuild: + arm/ia64/sh/sparc stable wrt #315147 + + 26 Apr 2010; Christian Faulhammer <fauli@gentoo.org> pyxattr-0.5.0.ebuild: + stable x86, bug 315147 + +*pyxattr-0.5.0 (10 Mar 2010) + + 10 Mar 2010; Sebastian Pipping <sping@gentoo.org> +pyxattr-0.5.0.ebuild: + Bump to 0.5.0 which introduces Python 3 support + + 25 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + pyxattr-0.4.0.ebuild: + Set SUPPORT_PYTHON_ABIS. + + 28 May 2009; Raúl Porcel <armin76@gentoo.org> pyxattr-0.4.0.ebuild: + arm/ia64/sh/sparc stable wrt #267212 + + 23 May 2009; Markus Meier <maekke@gentoo.org> pyxattr-0.4.0.ebuild: + amd64/x86 stable, bug #267212 + + 21 May 2009; Brent Baude <ranger@gentoo.org> pyxattr-0.4.0.ebuild: + stable ppc, bug 267212 + + 19 May 2009; Brent Baude <ranger@gentoo.org> pyxattr-0.4.0.ebuild: + stable ppc64, bug 267212 + + 06 Sep 2008; Jesus Rivero <neurogeek@gentoo.org> pyxattr-0.4.0.ebuild: + Added dev-python/setuptools as a dep. Bug #236447 + +*pyxattr-0.4.0 (01 Sep 2008) + + 01 Sep 2008; Ali Polatel <hawking@gentoo.org> -pyxattr-0.2.1.ebuild, + +pyxattr-0.4.0.ebuild: + Version bump. Change LICENSE to LGPL-2.1. Drop old. + +*pyxattr-0.2.1 (11 May 2007) + + 11 May 2007; Robin H. Johnson <robbat2@gentoo.org> +pyxattr-0.2.1.ebuild: + Version bump per bug #177903. + + 14 Sep 2006; Danny van Dyk <kugelfang@gentoo.org> pyxattr-0.2.ebuild: + Marked stable on amd64. + + 17 Aug 2006; Markus Rothe <corsair@gentoo.org> pyxattr-0.2.ebuild: + Stable on ppc64 + + 12 Jul 2006; Aron Griffis <agriffis@gentoo.org> pyxattr-0.2.ebuild: + Mark 0.2 stable on ia64 + + 06 Jul 2006; Brent Baude <ranger@gentoo.org> pyxattr-0.2.ebuild: + Marking pyxattr-0.2 ~ppc64 to satisfy an rdiff-backup broken dep per Mr. Bones + + 01 Apr 2006; Aron Griffis <agriffis@gentoo.org> pyxattr-0.2.ebuild: + Mark 0.2 ~ia64 + + 17 Feb 2006; Michael Hanselmann <hansmi@gentoo.org> pyxattr-0.2.ebuild: + Stable on ppc. + + 21 Jan 2006; Michael Hanselmann <hansmi@gentoo.org> pyxattr-0.2.ebuild: + Added to ~ppc. + + 12 Dec 2005; Robin H. Johnson <robbat2@gentoo.org> metadata.xml: + Update metadata. + + 05 Dec 2005; Gustavo Zacarias <gustavoz@gentoo.org> pyxattr-0.2.ebuild: + Stable on sparc + + 28 Nov 2005; Marien Zwart <marienz@gentoo.org> +metadata.xml: + Add metadata.xml. + + 28 Oct 2005; Mark Loeser <halcy0n@gentoo.org> pyxattr-0.2.ebuild: + Stable on x86; bug #110332 + + 25 Sep 2005; Jason Wever <weeve@gentoo.org> pyxattr-0.2.ebuild: + Added ~sparc keyword. + +*pyxattr-0.2 (21 Sep 2005) + + 21 Sep 2005; Robin H. Johnson <robbat2@gentoo.org> +pyxattr-0.2.ebuild: + Initial commit, ebuild submitted by Thomas Bettler + <bettlertho@sis.unibe.ch>, dependancy for new rdiff-backup. diff --git a/dev-python/pyxattr/Manifest b/dev-python/pyxattr/Manifest new file mode 100644 index 0000000..76e0ada --- /dev/null +++ b/dev-python/pyxattr/Manifest @@ -0,0 +1,5 @@ +AUX pyxattr-0.5.1-test-bytes.patch 544 SHA256 e10ca069878137ce9e48d300ede53dd66858b4136a4ff53705ae0236f51a641e SHA512 3e4d2776b5cc4a76123cd504e060f8e830fad1a778502825b0999af7f38a481bab39effdcfcacc12c102f1377c34315410d1d44a96dbfd94e961b2207d96d9e3 WHIRLPOOL 6c48568e03e98066aa3b6230533edab73f9ef912e5076ae5e7b89306d8e149813f8859702eb2531b9c6cf342e128ef8de80ce9ae3d0d5a765a5a0fddb1274e42 +DIST pyxattr-0.5.2.tar.gz 25335 SHA256 19accb3927a833b36b1fb0fddeae45c32b08715cce38b1b106faff22c4ba79d9 SHA512 8dfe6583b1bb54c1674ca90ea99ad50d7ad51b858a1f40bfd4a3660fcba71b59540e5957bb601d816e82c9fec91985394f51193e5a2452c4b1b27cb5edf51e2f WHIRLPOOL 70c7943af623eb0bf9e727aa6b1104cd72f3ffef48e28b5ed3d6471d0ccd44b743a583b996d8d49016e542b9bc8f2f0bd79bd3c14bb81167ad7e442d7590521a +EBUILD pyxattr-0.5.2-r1.ebuild 1140 SHA256 b617985b2ad2e4fa4fe4aa9e8830b594683d80f60789a43a792d41b6593f0f0c SHA512 7e12b74602edf57b03556ff4dedf59c0eb456f7bb57de4ac02a05fccdc98b97a933e1dedcf1565c67744234990a61cac0cf159c42356aacd315e99a6d918a4da WHIRLPOOL e7fb79f2b6a8fa67be67de5736f6ea4045033c09a49a6748cc9aab5223a53e723c0b7a7666c8e555434146302ceb1d153ee1a1e57e4651bbdb3b65e4aa6c441e +MISC ChangeLog 6954 SHA256 ee572455faeef614bbaf471897d0f9f88109b9becc2c28cbe463cab2b5334b33 SHA512 bfae6594c507abb86069dc3b9f9b29998a105a644dfeb2ecdde18a4688e9abc7aa247b20efa44b2c23d7e7d7e079c9d0e3b463136119d72e370c02c91f96859a WHIRLPOOL 08d41640a5e4e717367e2ee1d0bac3a6fd20f5bfcf536e3bb2eff51961fcbba6d068854e9fb6dd6b571511b2c4b8c62de2d4f8823bfd61a965df18979cc3d2f2 +MISC metadata.xml 493 SHA256 77889510b32096b9655328563a6065660fbfb5b3eec6bae5c529a2bffb9eb213 SHA512 38e0c3ef1add177caadcb4275587bc859222c68fafe29d7d370182c21780100dd5ff4f6f4c5fba33591c01aad7323a5f4aaceba5c1465c9e6a1173ec8a9433c8 WHIRLPOOL 95e710c289786decac359fd6d64a5521c92e09b68885c646b6fdd363281b1768534905123f3f9693f7db28d2fc2f38e5405853fa07f4312aa66dd994a5fcd9e4 diff --git a/dev-python/pyxattr/files/pyxattr-0.5.1-test-bytes.patch b/dev-python/pyxattr/files/pyxattr-0.5.1-test-bytes.patch new file mode 100644 index 0000000..6ff4bd0 --- /dev/null +++ b/dev-python/pyxattr/files/pyxattr-0.5.1-test-bytes.patch @@ -0,0 +1,19 @@ +commit ea7421018090b7099c5e0a6bd88180f41ebb7bce +Author: Mike Gilbert <floppym@gentoo.org> +Date: Fri Dec 21 16:33:18 2012 -0500 + + Python 2.5 can't parse byte literals, so use bytes() instead. + +diff --git a/test/test_xattr.py b/test/test_xattr.py +index 8df00b9..0bca576 100644 +--- a/test/test_xattr.py ++++ b/test/test_xattr.py +@@ -12,7 +12,7 @@ from xattr import NS_USER, XATTR_CREATE, XATTR_REPLACE + + if sys.hexversion >= 0x03000000: + PY3K = True +- EMPTY_NS = b'' ++ EMPTY_NS = bytes() + else: + PY3K = False + EMPTY_NS = '' diff --git a/dev-python/pyxattr/metadata.xml b/dev-python/pyxattr/metadata.xml new file mode 100644 index 0000000..ec3bef8 --- /dev/null +++ b/dev-python/pyxattr/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>python</herd> +<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> + <email>robbat2@gentoo.org</email> +</maintainer> +<upstream> + <remote-id type="pypi">pyxattr</remote-id> +</upstream> +</pkgmetadata> diff --git a/dev-python/pyxattr/pyxattr-0.5.2-r1.ebuild b/dev-python/pyxattr/pyxattr-0.5.2-r1.ebuild new file mode 100644 index 0000000..7183bf5 --- /dev/null +++ b/dev-python/pyxattr/pyxattr-0.5.2-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 ) + +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 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux" +IUSE="test" + +RDEPEND="sys-apps/attr" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +python_prepare_all() { + sed -i -e 's:, "-Werror"::' setup.py || die + + distutils-r1_python_prepare_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 + + 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}" +} |