diff options
-rw-r--r-- | dev-python/binaryornot/Manifest | 1 | ||||
-rw-r--r-- | dev-python/binaryornot/binaryornot-0.4.0.ebuild | 28 | ||||
-rw-r--r-- | dev-python/binaryornot/metadata.xml | 8 |
3 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/binaryornot/Manifest b/dev-python/binaryornot/Manifest new file mode 100644 index 000000000000..029709ad8008 --- /dev/null +++ b/dev-python/binaryornot/Manifest @@ -0,0 +1 @@ +DIST binaryornot-0.4.0.tar.gz 371339 SHA256 2d2fa466cf6755638af0295b6ad048543e31332b40e905bbf546e28f63eeb9be SHA512 b63123a1496168142aa7d9119ac6d910682b8fe28bde1624f933b2368f884d8a6552608238e2dd64779fb035a20ecd8d16d7777f3f0eaf48674750eae2f3ef10 WHIRLPOOL 5434ba25f29dee39399c58d62d7a776194740b25a54592b8002d4687117d9748b129314e559c7fb5ad846dfe4ab3d1b253f72c2bc0f7a424b165eee500a3a881 diff --git a/dev-python/binaryornot/binaryornot-0.4.0.ebuild b/dev-python/binaryornot/binaryornot-0.4.0.ebuild new file mode 100644 index 000000000000..66c5a7ba135d --- /dev/null +++ b/dev-python/binaryornot/binaryornot-0.4.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 + +DESCRIPTION="Ultra-lightweight pure Python package to guess whether a file is binary or text" +HOMEPAGE="https://github.com/audreyr/binaryornot" +SRC_URI="https://github.com/audreyr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND=">=dev-python/chardet-2.0.0[${PYTHON_USEDEP}]" +DEPEND="test? ( ${RDEPEND} + dev-python/hypothesis[${PYTHON_USEDEP}] )" + +DOCS=( README.rst HISTORY.rst CONTRIBUTING.rst ) + +python_test() { + esetup.py test || die +} diff --git a/dev-python/binaryornot/metadata.xml b/dev-python/binaryornot/metadata.xml new file mode 100644 index 000000000000..7f4f33c6dbc9 --- /dev/null +++ b/dev-python/binaryornot/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> +</pkgmetadata> |