1 |
commit: 333e0119e5e3bb1f0b3512304426c3cc9cd57433 |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Wed Feb 16 15:21:11 2022 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 17 21:11:16 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=333e0119 |
7 |
|
8 |
dev-python/decopatch: add 1.4.9 |
9 |
|
10 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
dev-python/decopatch/Manifest | 1 + |
13 |
dev-python/decopatch/decopatch-1.4.9.ebuild | 38 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/decopatch/Manifest b/dev-python/decopatch/Manifest |
17 |
index 43090fcf8..b49ed0fc9 100644 |
18 |
--- a/dev-python/decopatch/Manifest |
19 |
+++ b/dev-python/decopatch/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST decopatch-1.4.8.tar.gz 63175 BLAKE2B 41350ad88fe2c77f2e8e698763cb4834afb944cb21ad5b79db7e738d0868d0f4c4075534641429bdf611fab6a651ccb48e1cf3d8b38d1fa3e2849bd60daf9586 SHA512 6ebbfef482bea6c2d7d53c420f685561e1818095277c42bf7252d7e06415ddb50c3a7c255d3d5ad69e8d963a66b0e63821ef7019b94d9a0ea918f757fafa0314 |
22 |
+DIST decopatch-1.4.9.tar.gz 68419 BLAKE2B bb49ffd093aead65373f6c56955d2dfcdf73f5654acb12ddfbfc0b5c94f9db8e10c70493489cc06a569bef312f04c3e5cb94bbc9e64ba2f75866777fa7721aff SHA512 2f131bbc485ab177c86abb782cdd0b66b7370a7fb97b62e27da5fb62f3c115ae540eae22a346d8ecb0946216661c111f952d8e22e60b40de21371cd38b93264a |
23 |
|
24 |
diff --git a/dev-python/decopatch/decopatch-1.4.9.ebuild b/dev-python/decopatch/decopatch-1.4.9.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000..99aef5e05 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/decopatch/decopatch-1.4.9.ebuild |
29 |
@@ -0,0 +1,38 @@ |
30 |
+# Copyright 2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+ |
38 |
+DOCS_BUILDER="mkdocs" |
39 |
+DOCS_DEPEND="dev-python/mkdocs-material" |
40 |
+DOCS_DIR="docs" |
41 |
+ |
42 |
+inherit distutils-r1 docs |
43 |
+ |
44 |
+DESCRIPTION="Create decorators easily in python" |
45 |
+HOMEPAGE="https://pypi.org/project/decopatch/ https://github.com/smarie/python-decopatch" |
46 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="BSD" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64" |
51 |
+ |
52 |
+RDEPEND="dev-python/makefun[${PYTHON_USEDEP}]" |
53 |
+BDEPEND=" |
54 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
55 |
+ test? ( dev-python/pytest-cases[${PYTHON_USEDEP}] ) |
56 |
+" |
57 |
+ |
58 |
+distutils_enable_tests pytest |
59 |
+ |
60 |
+python_prepare_all() { |
61 |
+ sed "/pytest-runner/d" -i setup.cfg || die |
62 |
+ distutils-r1_python_prepare_all |
63 |
+} |
64 |
+ |
65 |
+python_compile_all() { |
66 |
+ docs_compile |
67 |
+} |