forked from pool/python-dill
- Update the source from github and use the correct folder for setup and tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dill?expand=0&rev=22
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e5db55f3687856d8fbdab002ed78544e1c4559a130302693d839dfe8f93f2373
|
||||
size 179026
|
||||
oid sha256:2c36e875cd04693898fa381e9d6e156a62ee822e48440c28a3af84d7193f6052
|
||||
size 171608
|
||||
|
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 21 06:58:20 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Update the source from github and use the correct folder for setup and tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 17 13:02:13 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
|
@@ -52,7 +52,7 @@ objects, `dill` provides the ability to save the state of an interpreter
|
||||
session in a single command.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n dill-%{version}
|
||||
%autosetup -p1 -n dill-dill-%{version}
|
||||
find dill -name '*.py' -exec sed -i '1{\@^#!%{_bindir}/env python@d}' {} \;
|
||||
|
||||
%build
|
||||
@@ -68,7 +68,7 @@ find dill -name '*.py' -exec sed -i '1{\@^#!%{_bindir}/env python@d}' {} \;
|
||||
|
||||
%check
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
export PYTHONPATH=%{_builddir}/dill-%{version}
|
||||
export PYTHONPATH=%{_builddir}/dill-dill-%{version}
|
||||
# Creative; copied from tox.ini
|
||||
%python_exec dill/tests/__main__.py
|
||||
|
||||
|
Reference in New Issue
Block a user