Accepting request 520331 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/520331 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybeam?expand=0&rev=9
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 24 13:50:13 UTC 2017 - jmatejek@suse.com
|
||||||
|
|
||||||
|
- singlespec auto-conversion
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 20 19:35:02 UTC 2017 - matwey.kornilov@gmail.com
|
Fri Jan 20 19:35:02 UTC 2017 - matwey.kornilov@gmail.com
|
||||||
|
|
||||||
@@ -48,3 +53,4 @@ Wed May 1 15:57:09 UTC 2013 - matwey.kornilov@gmail.com
|
|||||||
|
|
||||||
- Initial version
|
- Initial version
|
||||||
|
|
||||||
|
|
||||||
|
@@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-pybeam
|
Name: python-pybeam
|
||||||
Version: 0.4
|
Version: 0.4
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -24,31 +25,31 @@ License: MIT
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://github.com/matwey/pybeam
|
Url: http://github.com/matwey/pybeam
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pybeam/pybeam-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pybeam/pybeam-%{version}.tar.gz
|
||||||
BuildRequires: python-construct >= 2.8
|
BuildRequires: %{python_module construct >= 2.8}
|
||||||
BuildRequires: python-devel
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-construct
|
Requires: python-construct
|
||||||
Requires: python-six >= 1.4.0
|
Requires: python-six >= 1.4.0
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
%else
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Python module to parse Erlang BEAM files, now it is able to read imports, exports, atoms, as well as compile info and attribute chunks in pretty python format.
|
Python module to parse Erlang BEAM files, now it is able to read
|
||||||
|
imports, exports, atoms, as well as compile info and attribute
|
||||||
|
chunks in pretty python format.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pybeam-%{version}
|
%setup -q -n pybeam-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user