14
0
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:
2022-11-21 06:58:50 +00:00
committed by Git OBS Bridge
parent 84efe7951d
commit a5fc18d8f6
3 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:e5db55f3687856d8fbdab002ed78544e1c4559a130302693d839dfe8f93f2373 oid sha256:2c36e875cd04693898fa381e9d6e156a62ee822e48440c28a3af84d7193f6052
size 179026 size 171608

View File

@@ -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> Thu Nov 17 13:02:13 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -52,7 +52,7 @@ objects, `dill` provides the ability to save the state of an interpreter
session in a single command. session in a single command.
%prep %prep
%autosetup -p1 -n dill-%{version} %autosetup -p1 -n dill-dill-%{version}
find dill -name '*.py' -exec sed -i '1{\@^#!%{_bindir}/env python@d}' {} \; find dill -name '*.py' -exec sed -i '1{\@^#!%{_bindir}/env python@d}' {} \;
%build %build
@@ -68,7 +68,7 @@ find dill -name '*.py' -exec sed -i '1{\@^#!%{_bindir}/env python@d}' {} \;
%check %check
export PYTHONDONTWRITEBYTECODE=1 export PYTHONDONTWRITEBYTECODE=1
export PYTHONPATH=%{_builddir}/dill-%{version} export PYTHONPATH=%{_builddir}/dill-dill-%{version}
# Creative; copied from tox.ini # Creative; copied from tox.ini
%python_exec dill/tests/__main__.py %python_exec dill/tests/__main__.py