summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2013-03-22 12:30:55 +0000
committerAndrey Grozin <grozin@gentoo.org>2013-03-22 12:30:55 +0000
commit07bb5ce0847ede8a44d187bcab4e8ee25a0e4694 (patch)
tree8499f7b2261d8206098d245858db665d686d5709 /dev-python/bitstring
parentVersion bump (diff)
downloadgentoo-2-07bb5ce0847ede8a44d187bcab4e8ee25a0e4694.tar.gz
gentoo-2-07bb5ce0847ede8a44d187bcab4e8ee25a0e4694.tar.bz2
gentoo-2-07bb5ce0847ede8a44d187bcab4e8ee25a0e4694.zip
Porting to distutils-r1, tests; cleaning old
(Portage version: 2.2.0_alpha169/cvs/Linux i686, signed Manifest commit with key 00C6DAB1!)
Diffstat (limited to 'dev-python/bitstring')
-rw-r--r--dev-python/bitstring/ChangeLog8
-rw-r--r--dev-python/bitstring/bitstring-2.2.0.ebuild27
-rw-r--r--dev-python/bitstring/bitstring-3.0.1.ebuild27
-rw-r--r--dev-python/bitstring/bitstring-3.0.2.ebuild27
-rw-r--r--dev-python/bitstring/bitstring-3.1.0-r1.ebuild29
5 files changed, 36 insertions, 82 deletions
diff --git a/dev-python/bitstring/ChangeLog b/dev-python/bitstring/ChangeLog
index 5f05baee062f..e875a8ed242b 100644
--- a/dev-python/bitstring/ChangeLog
+++ b/dev-python/bitstring/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/bitstring
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/bitstring/ChangeLog,v 1.8 2013/03/11 08:43:22 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/bitstring/ChangeLog,v 1.9 2013/03/22 12:30:55 grozin Exp $
+
+*bitstring-3.1.0-r1 (22 Mar 2013)
+
+ 22 Mar 2013; Andrey Grozin <grozin@gentoo.org> -bitstring-2.2.0.ebuild,
+ -bitstring-3.0.1.ebuild, -bitstring-3.0.2.ebuild, +bitstring-3.1.0-r1.ebuild:
+ Porting to distutils-r1, tests; cleaning old
*bitstring-3.1.0 (11 Mar 2013)
diff --git a/dev-python/bitstring/bitstring-2.2.0.ebuild b/dev-python/bitstring/bitstring-2.2.0.ebuild
deleted file mode 100644
index e5400d613f8a..000000000000
--- a/dev-python/bitstring/bitstring-2.2.0.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/bitstring/bitstring-2.2.0.ebuild,v 1.2 2012/02/21 03:38:15 patrick Exp $
-
-EAPI=3
-SUPPORT_PYTHON_ABIS=1
-RESTRICT_PYTHON_ABIS="2.5"
-inherit distutils
-
-DESCRIPTION="A pure Python module for creation and analysis of binary data"
-HOMEPAGE="http://python-bitstring.googlecode.com/"
-SRC_URI="http://python-bitstring.googlecode.com/files/${P}.zip"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-DEPEND="app-arch/unzip"
-
-src_test() {
- testing() {
- PYTHONPATH="../build-${PYTHON_ABI}/lib" "$(PYTHON)" test_${PN}.py
- }
- pushd test > /dev/null
- python_execute_function testing
- popd > /dev/null
-}
diff --git a/dev-python/bitstring/bitstring-3.0.1.ebuild b/dev-python/bitstring/bitstring-3.0.1.ebuild
deleted file mode 100644
index 2b71d7b06fbc..000000000000
--- a/dev-python/bitstring/bitstring-3.0.1.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/bitstring/bitstring-3.0.1.ebuild,v 1.2 2012/02/21 03:38:15 patrick Exp $
-
-EAPI=3
-SUPPORT_PYTHON_ABIS=1
-RESTRICT_PYTHON_ABIS="2.5"
-inherit distutils
-
-DESCRIPTION="A pure Python module for creation and analysis of binary data"
-HOMEPAGE="http://python-bitstring.googlecode.com/"
-SRC_URI="http://python-bitstring.googlecode.com/files/${P}.zip"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-DEPEND="app-arch/unzip"
-
-src_test() {
- testing() {
- PYTHONPATH="../build-${PYTHON_ABI}/lib" "$(PYTHON)" test_${PN}.py
- }
- pushd test > /dev/null
- python_execute_function testing
- popd > /dev/null
-}
diff --git a/dev-python/bitstring/bitstring-3.0.2.ebuild b/dev-python/bitstring/bitstring-3.0.2.ebuild
deleted file mode 100644
index cbdb4cbe77c5..000000000000
--- a/dev-python/bitstring/bitstring-3.0.2.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/bitstring/bitstring-3.0.2.ebuild,v 1.2 2012/02/21 03:38:15 patrick Exp $
-
-EAPI=3
-SUPPORT_PYTHON_ABIS=1
-RESTRICT_PYTHON_ABIS="2.5"
-inherit distutils
-
-DESCRIPTION="A pure Python module for creation and analysis of binary data"
-HOMEPAGE="http://python-bitstring.googlecode.com/"
-SRC_URI="http://python-bitstring.googlecode.com/files/${P}.zip"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-DEPEND="app-arch/unzip"
-
-src_test() {
- testing() {
- PYTHONPATH="../build-${PYTHON_ABI}/lib" "$(PYTHON)" test_${PN}.py
- }
- pushd test > /dev/null
- python_execute_function testing
- popd > /dev/null
-}
diff --git a/dev-python/bitstring/bitstring-3.1.0-r1.ebuild b/dev-python/bitstring/bitstring-3.1.0-r1.ebuild
new file mode 100644
index 000000000000..e9d34f1b9bd9
--- /dev/null
+++ b/dev-python/bitstring/bitstring-3.1.0-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/bitstring/bitstring-3.1.0-r1.ebuild,v 1.1 2013/03/22 12:30:55 grozin Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_6,2_7,3_2} )
+inherit distutils-r1
+
+DESCRIPTION="A pure Python module for creation and analysis of binary data"
+HOMEPAGE="http://python-bitstring.googlecode.com/"
+SRC_URI="http://python-bitstring.googlecode.com/files/${P}.zip"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+DEPEND="app-arch/unzip
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_test() {
+ pushd test > /dev/null
+ PYTHONPATH="${BUILD_DIR}"/lib "${PYTHON}" -m unittest test_bitarray || die "test_bitarray failed"
+ PYTHONPATH="${BUILD_DIR}"/lib "${PYTHON}" -m unittest test_bits || die "test_bits failed"
+ PYTHONPATH="${BUILD_DIR}"/lib "${PYTHON}" -m unittest test_bitstore || die "test_bitstore failed"
+ PYTHONPATH="${BUILD_DIR}"/lib "${PYTHON}" -m unittest test_bitstream || die "test_bitstream failed"
+ PYTHONPATH="${BUILD_DIR}"/lib "${PYTHON}" -m unittest test_bitstring || die "test_bitstring failed"
+ PYTHONPATH="${BUILD_DIR}"/lib "${PYTHON}" -m unittest test_constbitstream || die "test_constbitstream failed"
+ popd > /dev/null
+}