Accepting request 619171 from home:StefanBruens:branches:science
Required for building science:ns3 - Update to 0.19.0 Remove python-PyBindGen-r870.patch - Make package singlespec - Cleanup - Update to 0.17.0 - Remove all patches. Have been applied upstream. - Add python-PyBindGen-r870.patch - Add python-PyBindGen-r834.patch * Fix build problem with the 'bool const &' param type - Add python-PyBindGen-r831.patch * Fixes UnboundLocalError in overloading.py - Initial version OBS-URL: https://build.opensuse.org/request/show/619171 OBS-URL: https://build.opensuse.org/package/show/science/python-PyBindGen?expand=0&rev=1
This commit is contained in:
54
python-PyBindGen.spec
Normal file
54
python-PyBindGen.spec
Normal file
@@ -0,0 +1,54 @@
|
||||
#
|
||||
# spec file for package python-PyBindGen
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
|
||||
Name: python-PyBindGen
|
||||
Version: 0.19.0
|
||||
Release: 0
|
||||
Summary: Python Bindings Generator
|
||||
License: LGPL-2.1
|
||||
Group: Development/Libraries/Python
|
||||
Url: https://github.com/gjcarneiro/pybindgen
|
||||
Source0: https://pypi.io/packages/source/P/PyBindGen/PyBindGen-%{version}.tar.gz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A tool to generate Python bindings for C/C++ code.
|
||||
|
||||
%prep
|
||||
%setup -q -n PyBindGen-%{version}
|
||||
find . -iname \*.py -exec sed -ie '1s#/usr/bin/env python#/usr/bin/python#' \{\} \;
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
|
||||
|
||||
%files %{python_files}
|
||||
%license COPYING
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user