summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2016-10-30 00:16:22 +0200
committerManuel Rüger <mrueg@gentoo.org>2016-10-30 00:16:49 +0200
commitf4010b7f9ba5727c775a178e4b45dd92dd78a697 (patch)
treee74a484f18df0b6aef1b3b62b7695d1b34559d38 /dev-python/binaryornot
parentdev-scheme/racket: clean up (diff)
downloadgentoo-f4010b7f9ba5727c775a178e4b45dd92dd78a697.tar.gz
gentoo-f4010b7f9ba5727c775a178e4b45dd92dd78a697.tar.bz2
gentoo-f4010b7f9ba5727c775a178e4b45dd92dd78a697.zip
dev-python/binaryornot: Initial version
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-python/binaryornot')
-rw-r--r--dev-python/binaryornot/Manifest1
-rw-r--r--dev-python/binaryornot/binaryornot-0.4.0.ebuild28
-rw-r--r--dev-python/binaryornot/metadata.xml8
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>