1 |
commit: 994c14479af05fa4944b5e3f20e4fa8185531376 |
2 |
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 17 19:48:05 2018 +0000 |
4 |
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 17 19:48:05 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=994c1447 |
7 |
|
8 |
dev-python/pytest-django: bump to 3.4.4 |
9 |
|
10 |
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
dev-python/pytest-django/Manifest | 2 +- |
14 |
.../pytest-django/pytest-django-2.9.1.ebuild | 37 ---------------------- |
15 |
.../pytest-django/pytest-django-3.4.4.ebuild | 26 +++++++++++++++ |
16 |
3 files changed, 27 insertions(+), 38 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/pytest-django/Manifest b/dev-python/pytest-django/Manifest |
19 |
index 1f1e5daba4c..27f317f7504 100644 |
20 |
--- a/dev-python/pytest-django/Manifest |
21 |
+++ b/dev-python/pytest-django/Manifest |
22 |
@@ -1 +1 @@ |
23 |
-DIST pytest-django-2.9.1.tar.gz 50570 BLAKE2B f709ba00e16686cc2c7b3db168e775e8fcbebdb8ed732882d53c6c377d957af220b63dbe48120850de0773021f448270d855635336d08b6914edaa8c877c18bd SHA512 0e50f45a0cfefb6fa74f7d60d5173e3e8dac49ac669c9c88e46d27a01cff5c4a255d6f707863406b6f8707e25e9bea3408cbffbb75a2680fee365b9c9167d468 |
24 |
+DIST pytest-django-3.4.4.tar.gz 66962 BLAKE2B a989009eccab4bbd96e32ed1b6b5d03ca8105026c6d9219ea09f6b33fe2087a30d9042e2cd5a313196ed67cc1c5dc940d04fe981dda0da4f25cf16a43e88471a SHA512 a851b27e9abc4829a47abb5da40cbd69fea5c48b05c81f88910d4345696c6d01f78e07ac489cec7cfb5724dd8432891ff9260dc585e720d758491906812661df |
25 |
|
26 |
diff --git a/dev-python/pytest-django/pytest-django-2.9.1.ebuild b/dev-python/pytest-django/pytest-django-2.9.1.ebuild |
27 |
deleted file mode 100644 |
28 |
index ecfe25826b5..00000000000 |
29 |
--- a/dev-python/pytest-django/pytest-django-2.9.1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,37 +0,0 @@ |
32 |
-# Copyright 1999-2017 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=5 |
36 |
- |
37 |
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy pypy3 ) |
38 |
- |
39 |
-inherit distutils-r1 |
40 |
- |
41 |
-DESCRIPTION="A Django plugin for py.test" |
42 |
-HOMEPAGE="https://pypi.org/project/pytest-django/ https://pytest-django.readthedocs.org https://github.com/pytest-dev/pytest-django" |
43 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
- |
45 |
-LICENSE="BSD" |
46 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
47 |
-SLOT="0" |
48 |
- |
49 |
-RDEPEND="" |
50 |
-DEPEND="${RDEPEND} |
51 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
52 |
- >=dev-python/setuptools_scm-1.8.0[${PYTHON_USEDEP}] |
53 |
-" |
54 |
- |
55 |
-# https://github.com/pytest-dev/pytest-django/issues/290 |
56 |
-RESTRICT=test |
57 |
- |
58 |
-src_prepare() { |
59 |
- sed \ |
60 |
- -e '/setuptools_scm/s:==1.8.0::g' \ |
61 |
- -i setup.py || die |
62 |
- distutils-r1_src_prepare |
63 |
-} |
64 |
- |
65 |
-python_test() { |
66 |
- PYTEST_PLUGINS=${PN/-/_} \ |
67 |
- py.test --ds=pytest_django_test.settings_sqlite_file --strict -r fEsxXw || die |
68 |
-} |
69 |
|
70 |
diff --git a/dev-python/pytest-django/pytest-django-3.4.4.ebuild b/dev-python/pytest-django/pytest-django-3.4.4.ebuild |
71 |
new file mode 100644 |
72 |
index 00000000000..8bf3d831811 |
73 |
--- /dev/null |
74 |
+++ b/dev-python/pytest-django/pytest-django-3.4.4.ebuild |
75 |
@@ -0,0 +1,26 @@ |
76 |
+# Copyright 1999-2018 Gentoo Authors |
77 |
+# Distributed under the terms of the GNU General Public License v2 |
78 |
+ |
79 |
+EAPI=7 |
80 |
+ |
81 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} pypy pypy3 ) |
82 |
+ |
83 |
+inherit distutils-r1 |
84 |
+ |
85 |
+DESCRIPTION="A Django plugin for py.test" |
86 |
+HOMEPAGE="https://pypi.org/project/pytest-django/ https://pytest-django.readthedocs.org https://github.com/pytest-dev/pytest-django" |
87 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
88 |
+ |
89 |
+LICENSE="BSD" |
90 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
91 |
+SLOT="0" |
92 |
+ |
93 |
+RDEPEND=" |
94 |
+ >=dev-python/pytest-3.6[${PYTHON_USEDEP}] |
95 |
+" |
96 |
+DEPEND="${RDEPEND} |
97 |
+ >=dev-python/setuptools_scm-1.11.1[${PYTHON_USEDEP}] |
98 |
+" |
99 |
+ |
100 |
+# not all test dependencies are packaged and this package isn't worth it. |
101 |
+RESTRICT="test" |