summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/binaryornot')
-rw-r--r--dev-python/binaryornot/Manifest1
-rw-r--r--dev-python/binaryornot/binaryornot-0.4.3.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/binaryornot/Manifest b/dev-python/binaryornot/Manifest
index d153de277732..db0bf84197ef 100644
--- a/dev-python/binaryornot/Manifest
+++ b/dev-python/binaryornot/Manifest
@@ -1 +1,2 @@
DIST binaryornot-0.4.1.tar.gz 372095 SHA256 813e3d11a889b166ea210833b732651e2ed05df3b7a4f9c9cd3cd38be9bac723 SHA512 49732b725e7adc58fccc591c56bf4df65d1adaf3e5ce98e9f0a8aa2164e0f9bffcbcd6e793ae2cfc1ed90a5d74fb5899ec99de1b15bd3878a15c33f283319a45 WHIRLPOOL 53f7a2a3e108d4962f650b915e276a5cb6892670d6d26ac25672cbd3c9b7384916ad6e764231f83ba1b6bc1b6050806b0def666b7b7f2435d1f481c1a6fcf6fb
+DIST binaryornot-0.4.3.tar.gz 372299 SHA256 895aa79017f6924d888bf477d894de6871e17b0a909d790963c479ade34603c7 SHA512 bdb918b921fc46d056572b84126dbdc6605ec98cf13aac84f6f64ce07d083839be40bf7a08185eaabfbe136a9bcf0c1acc8041a23a6bb2843e8e72981222ebaa WHIRLPOOL 602dc06d8c4268e8df00adae18bc0acc2a413048e1f581bfa9d4877a0382908fbc0efe8886b852fe76282d18f58f51be93ffcb301ebc60f07adbaf784b988d8a
diff --git a/dev-python/binaryornot/binaryornot-0.4.3.ebuild b/dev-python/binaryornot/binaryornot-0.4.3.ebuild
new file mode 100644
index 000000000000..91e5e8d9d504
--- /dev/null
+++ b/dev-python/binaryornot/binaryornot-0.4.3.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+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-3.0.2[${PYTHON_USEDEP}]"
+DEPEND="test? ( ${RDEPEND}
+ dev-python/hypothesis[${PYTHON_USEDEP}] )"
+
+DOCS=( README.rst HISTORY.rst CONTRIBUTING.rst )
+
+python_test() {
+ esetup.py test || die
+}