1 |
commit: f4010b7f9ba5727c775a178e4b45dd92dd78a697 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 29 22:16:22 2016 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 29 22:16:49 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4010b7f |
7 |
|
8 |
dev-python/binaryornot: Initial version |
9 |
|
10 |
Package-Manager: portage-2.3.2 |
11 |
|
12 |
dev-python/binaryornot/Manifest | 1 + |
13 |
dev-python/binaryornot/binaryornot-0.4.0.ebuild | 28 +++++++++++++++++++++++++ |
14 |
dev-python/binaryornot/metadata.xml | 8 +++++++ |
15 |
3 files changed, 37 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/binaryornot/Manifest b/dev-python/binaryornot/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000..029709a |
20 |
--- /dev/null |
21 |
+++ b/dev-python/binaryornot/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST binaryornot-0.4.0.tar.gz 371339 SHA256 2d2fa466cf6755638af0295b6ad048543e31332b40e905bbf546e28f63eeb9be SHA512 b63123a1496168142aa7d9119ac6d910682b8fe28bde1624f933b2368f884d8a6552608238e2dd64779fb035a20ecd8d16d7777f3f0eaf48674750eae2f3ef10 WHIRLPOOL 5434ba25f29dee39399c58d62d7a776194740b25a54592b8002d4687117d9748b129314e559c7fb5ad846dfe4ab3d1b253f72c2bc0f7a424b165eee500a3a881 |
24 |
|
25 |
diff --git a/dev-python/binaryornot/binaryornot-0.4.0.ebuild b/dev-python/binaryornot/binaryornot-0.4.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000..66c5a7b |
28 |
--- /dev/null |
29 |
+++ b/dev-python/binaryornot/binaryornot-0.4.0.ebuild |
30 |
@@ -0,0 +1,28 @@ |
31 |
+# Copyright 1999-2016 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Ultra-lightweight pure Python package to guess whether a file is binary or text" |
42 |
+HOMEPAGE="https://github.com/audreyr/binaryornot" |
43 |
+SRC_URI="https://github.com/audreyr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="BSD" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64" |
48 |
+IUSE="test" |
49 |
+ |
50 |
+RDEPEND=">=dev-python/chardet-2.0.0[${PYTHON_USEDEP}]" |
51 |
+DEPEND="test? ( ${RDEPEND} |
52 |
+ dev-python/hypothesis[${PYTHON_USEDEP}] )" |
53 |
+ |
54 |
+DOCS=( README.rst HISTORY.rst CONTRIBUTING.rst ) |
55 |
+ |
56 |
+python_test() { |
57 |
+ esetup.py test || die |
58 |
+} |
59 |
|
60 |
diff --git a/dev-python/binaryornot/metadata.xml b/dev-python/binaryornot/metadata.xml |
61 |
new file mode 100644 |
62 |
index 00000000..7f4f33c |
63 |
--- /dev/null |
64 |
+++ b/dev-python/binaryornot/metadata.xml |
65 |
@@ -0,0 +1,8 @@ |
66 |
+<?xml version="1.0" encoding="UTF-8"?> |
67 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
68 |
+<pkgmetadata> |
69 |
+ <maintainer type="project"> |
70 |
+ <email>python@g.o</email> |
71 |
+ <name>Python</name> |
72 |
+ </maintainer> |
73 |
+</pkgmetadata> |