summaryrefslogtreecommitdiff
path: root/dev-python/python-magic/python-magic-0.4.12.ebuild
diff options
context:
space:
mode:
authorIan Whyman <thev00d00@gentoo.org>2016-07-10 11:27:32 +0100
committerIan Whyman <thev00d00@gentoo.org>2016-07-10 11:27:59 +0100
commit99d045618a2d76840a0458437b55d5b9344a8550 (patch)
tree544fdf0f055239c15be3afdf316642d169978165 /dev-python/python-magic/python-magic-0.4.12.ebuild
parentaf1ec8fcebfb70ec25ee1a638b60e4edc88754cc (diff)
downloadgentoo-99d045618a2d76840a0458437b55d5b9344a8550.tar.gz
gentoo-99d045618a2d76840a0458437b55d5b9344a8550.tar.bz2
gentoo-99d045618a2d76840a0458437b55d5b9344a8550.zip
dev-python/python-magic: Version bump (#588342)
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/python-magic/python-magic-0.4.12.ebuild')
-rw-r--r--dev-python/python-magic/python-magic-0.4.12.ebuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-python/python-magic/python-magic-0.4.12.ebuild b/dev-python/python-magic/python-magic-0.4.12.ebuild
new file mode 100644
index 000000000000..60913b731fe6
--- /dev/null
+++ b/dev-python/python-magic/python-magic-0.4.12.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Access the libmagic file type identification library"
+HOMEPAGE="https://github.com/ahupp/python-magic"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="PSF-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ia64 ~x86"
+IUSE=""
+
+RDEPEND="sys-apps/file[-python]"
+DEPEND="${DEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_test() {
+ esetup.py test
+}