Accepting request 356672 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/356672 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testpath?expand=0&rev=2
This commit is contained in:
parent
5314123ffb
commit
02728f0dcd
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 29 12:21:52 UTC 2016 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Don't use flit (which doesn't work reliably),
|
||||||
|
just copy the sources to the right place.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 14 19:44:22 UTC 2015 - toddrme2178@gmail.com
|
Wed Oct 14 19:44:22 UTC 2015 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -26,7 +26,6 @@ Url: https://github.com/jupyter/testpath
|
|||||||
Source0: https://github.com/jupyter/testpath/archive/%{version}.tar.gz
|
Source0: https://github.com/jupyter/testpath/archive/%{version}.tar.gz
|
||||||
Source1: https://raw.githubusercontent.com/jupyter/testpath/master/LICENSE
|
Source1: https://raw.githubusercontent.com/jupyter/testpath/master/LICENSE
|
||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
BuildRequires: python3-flit
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -42,11 +41,12 @@ for mocking system commands and recording calls to those.
|
|||||||
cp %{SOURCE1} ./
|
cp %{SOURCE1} ./
|
||||||
|
|
||||||
%build
|
%build
|
||||||
flit install
|
# We don't do anything here
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{python_sitelib}
|
mkdir -p %{buildroot}%{python_sitelib}
|
||||||
cp -r /home/abuild/.local/lib/*/site-packages/* %{buildroot}%{python_sitelib}
|
cp -r testpath %{buildroot}%{python_sitelib}
|
||||||
|
%py_compile %{buildroot}%{python_sitelib}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Loading…
Reference in New Issue
Block a user