1 |
Signed-off-by: Michał Górny <mgorny@g.o> |
2 |
--- |
3 |
eclass/pypi.eclass | 6 ++---- |
4 |
1 file changed, 2 insertions(+), 4 deletions(-) |
5 |
|
6 |
diff --git a/eclass/pypi.eclass b/eclass/pypi.eclass |
7 |
index e9d3eec1268b..d00b1171fd16 100644 |
8 |
--- a/eclass/pypi.eclass |
9 |
+++ b/eclass/pypi.eclass |
10 |
@@ -34,10 +34,6 @@ esac |
11 |
if [[ ! ${_PYPI_ECLASS} ]]; then |
12 |
_PYPI_ECLASS=1 |
13 |
|
14 |
-SRC_URI=" |
15 |
- https://files.pythonhosted.org/packages/source/${PN::1}/${PN}/${P}.tar.gz |
16 |
-" |
17 |
- |
18 |
# @FUNCTION: pypi_sdist_url |
19 |
# @USAGE: [<project> [<version> [<suffix>]]] |
20 |
# @DESCRIPTION: |
21 |
@@ -132,4 +128,6 @@ pypi_wheel_url() { |
22 |
fi |
23 |
} |
24 |
|
25 |
+SRC_URI="$(pypi_sdist_url)" |
26 |
+ |
27 |
fi |
28 |
-- |
29 |
2.39.1 |