summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2013-03-07 15:38:09 +0000
committerIan Delaney <idella4@gentoo.org>2013-03-07 15:38:09 +0000
commita850209c6227ffee325c8a50ea56d8f111c284ff (patch)
tree6d378beda74330bace0e9a46f0cb790c5243b630 /dev-python/http-parser
parentremove leftover patch (diff)
downloadgentoo-2-a850209c6227ffee325c8a50ea56d8f111c284ff.tar.gz
gentoo-2-a850209c6227ffee325c8a50ea56d8f111c284ff.tar.bz2
gentoo-2-a850209c6227ffee325c8a50ea56d8f111c284ff.zip
Drop old, re-migrated 0.8.1 to distutils-r1
(Portage version: 2.1.11.40/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/http-parser')
-rw-r--r--dev-python/http-parser/ChangeLog8
-rw-r--r--dev-python/http-parser/http-parser-0.8.1-r1.ebuild (renamed from dev-python/http-parser/http-parser-0.7.5.ebuild)27
2 files changed, 24 insertions, 11 deletions
diff --git a/dev-python/http-parser/ChangeLog b/dev-python/http-parser/ChangeLog
index 4f5b3c3af79e..16addaaf445e 100644
--- a/dev-python/http-parser/ChangeLog
+++ b/dev-python/http-parser/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/http-parser
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/http-parser/ChangeLog,v 1.11 2013/02/22 05:31:21 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/http-parser/ChangeLog,v 1.12 2013/03/07 15:38:09 idella4 Exp $
+
+*http-parser-0.8.1-r1 (07 Mar 2013)
+
+ 07 Mar 2013; Ian Delaney <idella4@gentoo.org> +http-parser-0.8.1-r1.ebuild,
+ -http-parser-0.7.5.ebuild:
+ Drop old, re-migrated 0.8.1 to distutils-r1
*http-parser-0.8.1 (22 Feb 2013)
diff --git a/dev-python/http-parser/http-parser-0.7.5.ebuild b/dev-python/http-parser/http-parser-0.8.1-r1.ebuild
index b664484ea075..22a97af14733 100644
--- a/dev-python/http-parser/http-parser-0.7.5.ebuild
+++ b/dev-python/http-parser/http-parser-0.8.1-r1.ebuild
@@ -1,13 +1,12 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/http-parser/http-parser-0.7.5.ebuild,v 1.1 2012/06/07 18:09:36 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/http-parser/http-parser-0.8.1-r1.ebuild,v 1.1 2013/03/07 15:38:09 idella4 Exp $
-EAPI=4
+EAPI=5
-SUPPORT_PYTHON_ABIS=1
-RESTRICT_PYTHON_ABIS="*-jython"
+PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2} pypy{1_9,2_0} )
-inherit distutils
+inherit distutils-r1 flag-o-matic
DESCRIPTION="HTTP request/response parser for python in C"
HOMEPAGE="http://github.com/benoitc/http-parser"
@@ -20,13 +19,21 @@ IUSE="examples"
RDEPEND=""
DEPEND="${RDEPEND}
- dev-python/setuptools
+ dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/cython"
-PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
+python_compile() {
+ if [[ ${EPYTHON} != python3* ]]; then
+ local CFLAGS=${CFLAGS}
+ append-cflags -fno-strict-aliasing
+ fi
+
+ distutils-r1_python_compile
+}
+
+python_install_all() {
+ dodoc README.rst
-src_install() {
- distutils_src_install
if use examples; then
docompress -x usr/share/doc/${P}/examples
insinto usr/share/doc/${P}