summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-02-15 20:17:20 +0000
committerMichał Górny <mgorny@gentoo.org>2013-02-15 20:17:20 +0000
commit2261b4bcdbbd689c5141e3d10652d652b5d65740 (patch)
treefd8bcd3052a098672cd94e467840720f80cfb693 /dev-python/python-mhash
parentmask ffmpeg-1.1 for a different reason as >=0.11; for now this double masks i... (diff)
downloadgentoo-2-2261b4bcdbbd689c5141e3d10652d652b5d65740.tar.gz
gentoo-2-2261b4bcdbbd689c5141e3d10652d652b5d65740.tar.bz2
gentoo-2-2261b4bcdbbd689c5141e3d10652d652b5d65740.zip
Migrate to distutils-r1.
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 42B9401D)
Diffstat (limited to 'dev-python/python-mhash')
-rw-r--r--dev-python/python-mhash/ChangeLog7
-rw-r--r--dev-python/python-mhash/python-mhash-1.4-r1.ebuild30
2 files changed, 36 insertions, 1 deletions
diff --git a/dev-python/python-mhash/ChangeLog b/dev-python/python-mhash/ChangeLog
index be3952d23393..eec4a6ae4668 100644
--- a/dev-python/python-mhash/ChangeLog
+++ b/dev-python/python-mhash/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/python-mhash
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-mhash/ChangeLog,v 1.14 2013/01/27 19:39:52 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-mhash/ChangeLog,v 1.15 2013/02/15 20:17:20 mgorny Exp $
+
+*python-mhash-1.4-r1 (15 Feb 2013)
+
+ 15 Feb 2013; Michał Górny <mgorny@gentoo.org> +python-mhash-1.4-r1.ebuild:
+ Migrate to distutils-r1.
27 Jan 2013; Fabian Groffen <grobian@gentoo.org> python-mhash-1.4.ebuild:
Added Prefix keywords
diff --git a/dev-python/python-mhash/python-mhash-1.4-r1.ebuild b/dev-python/python-mhash/python-mhash-1.4-r1.ebuild
new file mode 100644
index 000000000000..1bdc606bd1c2
--- /dev/null
+++ b/dev-python/python-mhash/python-mhash-1.4-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-mhash/python-mhash-1.4-r1.ebuild,v 1.1 2013/02/15 20:17:20 mgorny Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_5,2_6,2_7} )
+
+inherit distutils-r1 flag-o-matic
+
+DESCRIPTION="Python interface to libmhash"
+HOMEPAGE="http://mhash.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mhash/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+DEPEND="app-crypt/mhash"
+RDEPEND="${DEPEND}"
+
+python_configure_all() {
+ # Note: review this when py3 is supported
+ append-flags -fno-strict-aliasing
+}
+
+python_test() {
+ "${PYTHON}" test.py || die "Tests fail with ${EPYTHON}"
+}