1 |
commit: 95e249b0ffdd12a5c8818e3f5e7c583ccfd04158 |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 29 15:34:49 2018 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 29 15:40:10 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95e249b0 |
7 |
|
8 |
dev-python/pysendfile: add tests, Python 3.7, PyPy3, EAPI=7 |
9 |
|
10 |
Package-Manager: Portage-2.3.43, Repoman-2.3.10 |
11 |
|
12 |
dev-python/pysendfile/pysendfile-2.0.1-r1.ebuild | 23 +++++++++++++++++++++++ |
13 |
1 file changed, 23 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/pysendfile/pysendfile-2.0.1-r1.ebuild b/dev-python/pysendfile/pysendfile-2.0.1-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..6add938cfba |
18 |
--- /dev/null |
19 |
+++ b/dev-python/pysendfile/pysendfile-2.0.1-r1.ebuild |
20 |
@@ -0,0 +1,23 @@ |
21 |
+# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=7 |
25 |
+ |
26 |
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6,7}} ) |
27 |
+ |
28 |
+inherit distutils-r1 |
29 |
+ |
30 |
+DESCRIPTION="A python interface to the sendfile(2) system call" |
31 |
+HOMEPAGE="https://github.com/giampaolo/pysendfile" |
32 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
33 |
+ |
34 |
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc64 ~sparc ~x86" |
35 |
+IUSE="" |
36 |
+LICENSE="MIT" |
37 |
+SLOT="0" |
38 |
+ |
39 |
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
40 |
+ |
41 |
+python_test() { |
42 |
+ "${EPYTHON}" test/test_sendfile.py || die "tests failed with ${EPYTHON}" |
43 |
+} |