1 |
commit: b018ba0ae6bd6596455dd69939f9b3fa5e93de35 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 21 14:54:53 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 21 14:54:53 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b018ba0a |
7 |
|
8 |
dev-python/ws4py: fix $S |
9 |
|
10 |
Closes: https://bugs.gentoo.org/723188 |
11 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
|
14 |
dev-python/ws4py/ws4py-0.5.1-r1.ebuild | 7 +++++-- |
15 |
dev-python/ws4py/ws4py-9999.ebuild | 9 ++++++--- |
16 |
2 files changed, 11 insertions(+), 5 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/ws4py/ws4py-0.5.1-r1.ebuild b/dev-python/ws4py/ws4py-0.5.1-r1.ebuild |
19 |
index 558868593e6..3e590bb7984 100644 |
20 |
--- a/dev-python/ws4py/ws4py-0.5.1-r1.ebuild |
21 |
+++ b/dev-python/ws4py/ws4py-0.5.1-r1.ebuild |
22 |
@@ -10,13 +10,16 @@ EAPI=7 |
23 |
PYTHON_COMPAT=( python3_{6,7,8} ) |
24 |
PYTHON_REQ_USE="threads(+)?" |
25 |
|
26 |
+MY_PN="WebSocket-for-Python" |
27 |
+ |
28 |
inherit distutils-r1 |
29 |
if [[ ${PV} == "9999" ]] ; then |
30 |
- EGIT_REPO_URI="https://github.com/Lawouach/WebSocket-for-Python.git" |
31 |
+ EGIT_REPO_URI="https://github.com/Lawouach/${MY_PN}.git" |
32 |
inherit git-r3 |
33 |
else |
34 |
- SRC_URI="https://github.com/Lawouach/WebSocket-for-Python/archive/${PV}.tar.gz -> ${P}.tar.gz" |
35 |
+ SRC_URI="https://github.com/Lawouach/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
36 |
KEYWORDS="~amd64 arm ~x86" |
37 |
+ S="${WORKDIR}/${MY_PN}-${PV}" |
38 |
fi |
39 |
|
40 |
DESCRIPTION="WebSocket client and server library for Python 2 and 3 as well as PyPy" |
41 |
|
42 |
diff --git a/dev-python/ws4py/ws4py-9999.ebuild b/dev-python/ws4py/ws4py-9999.ebuild |
43 |
index 21de5cde42d..3e590bb7984 100644 |
44 |
--- a/dev-python/ws4py/ws4py-9999.ebuild |
45 |
+++ b/dev-python/ws4py/ws4py-9999.ebuild |
46 |
@@ -10,13 +10,16 @@ EAPI=7 |
47 |
PYTHON_COMPAT=( python3_{6,7,8} ) |
48 |
PYTHON_REQ_USE="threads(+)?" |
49 |
|
50 |
+MY_PN="WebSocket-for-Python" |
51 |
+ |
52 |
inherit distutils-r1 |
53 |
if [[ ${PV} == "9999" ]] ; then |
54 |
- EGIT_REPO_URI="https://github.com/Lawouach/WebSocket-for-Python.git" |
55 |
+ EGIT_REPO_URI="https://github.com/Lawouach/${MY_PN}.git" |
56 |
inherit git-r3 |
57 |
else |
58 |
- SRC_URI="https://github.com/Lawouach/WebSocket-for-Python/archive/${PV}.tar.gz -> ${P}.tar.gz" |
59 |
- KEYWORDS="~amd64 ~arm ~x86" |
60 |
+ SRC_URI="https://github.com/Lawouach/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
61 |
+ KEYWORDS="~amd64 arm ~x86" |
62 |
+ S="${WORKDIR}/${MY_PN}-${PV}" |
63 |
fi |
64 |
|
65 |
DESCRIPTION="WebSocket client and server library for Python 2 and 3 as well as PyPy" |