package created using the webbuild interface [release 4.1.0-1mamba;Sat Jan 23 2016]
This commit is contained in:
parent
72099d047a
commit
d2aee09389
@ -1,2 +1,4 @@
|
|||||||
# python-traitlets
|
# python-traitlets
|
||||||
|
|
||||||
|
This Python module is designed to provide a lightweight, simple, pure Python version of many of the capabilities of enthought.traits.
|
||||||
|
|
||||||
|
47
python-traitlets.spec
Normal file
47
python-traitlets.spec
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
%global srcname traitlets
|
||||||
|
|
||||||
|
Name: python-%{srcname}
|
||||||
|
Version: 4.1.0
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: A lightweight, simple, pure Python derivative of Enthought Traits
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||||||
|
URL: https://github.com/ipython/traitlets
|
||||||
|
Source: https://github.com/ipython/traitlets/archive/%{version}.tar.gz
|
||||||
|
License: BSD
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: libpython-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
Requires: python >= %python_version
|
||||||
|
Requires: python-decorator
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
This Python module is designed to provide a lightweight, simple, pure Python version of many of the capabilities of enthought.traits.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{srcname}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%{__python} setup.py install \
|
||||||
|
-O1 --skip-build \
|
||||||
|
--root="%{buildroot}" \
|
||||||
|
--install-headers=%{_includedir}/python \
|
||||||
|
--install-lib=%{python_sitearch} \
|
||||||
|
--record=%{name}.filelist
|
||||||
|
|
||||||
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
|
%files -f %{name}.filelist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc README.md
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Jan 23 2016 Davide Madrisan <davide.madrisan@gmail.com> 4.1.0-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user