1 |
commit: 9267514a56c0db8d23cbbeac9645340c687a1c63 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 1 04:49:45 2020 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 1 04:49:45 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9267514a |
7 |
|
8 |
dev-python/send2trash: add python3_8 |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> |
12 |
|
13 |
dev-python/send2trash/send2trash-1.5.0-r1.ebuild | 36 ++++++++++++++++++++++++ |
14 |
1 file changed, 36 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/send2trash/send2trash-1.5.0-r1.ebuild b/dev-python/send2trash/send2trash-1.5.0-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..748e6b56a71 |
19 |
--- /dev/null |
20 |
+++ b/dev-python/send2trash/send2trash-1.5.0-r1.ebuild |
21 |
@@ -0,0 +1,36 @@ |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+MY_PN="Send2Trash" |
32 |
+MY_P="${MY_PN}-${PV}" |
33 |
+ |
34 |
+DESCRIPTION="Sends files to the Trash (or Recycle Bin)" |
35 |
+HOMEPAGE=" |
36 |
+ https://pypi.org/project/Send2Trash/ |
37 |
+ https://github.com/hsoft/send2trash" |
38 |
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
39 |
+ |
40 |
+SLOT="0" |
41 |
+LICENSE="BSD" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+IUSE="" |
44 |
+ |
45 |
+RDEPEND="" |
46 |
+DEPEND="${RDEPEND} |
47 |
+ dev-python/setuptools[${PYTHON_USEDEP}]" |
48 |
+ |
49 |
+S="${WORKDIR}"/${MY_P} |
50 |
+ |
51 |
+PATCHES=( |
52 |
+ "${FILESDIR}/${P}-fix-broken-tests-on-py2.patch" |
53 |
+) |
54 |
+ |
55 |
+python_test() { |
56 |
+ ${EPYTHON} setup.py test |
57 |
+} |