commit fef80a5c85b40430fef8fc3488497772b8a5ef518998794d906c77de61653655 Author: Stefan BrĂ¼ns Date: Wed Jun 27 23:28:44 2018 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/PyBindGen-0.19.0.tar.gz b/PyBindGen-0.19.0.tar.gz new file mode 100644 index 0000000..0cdc25d --- /dev/null +++ b/PyBindGen-0.19.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:23f2b760e352729208cd4fbadbc618bd00f95a0a24db21a4182833afcc3b5208 +size 452252 diff --git a/python-PyBindGen.changes b/python-PyBindGen.changes new file mode 100644 index 0000000..fd6016e --- /dev/null +++ b/python-PyBindGen.changes @@ -0,0 +1,32 @@ +------------------------------------------------------------------- +Sun Jun 24 01:18:39 UTC 2018 - stefan.bruens@rwth-aachen.de + +- Update to 0.19.0 + Remove python-PyBindGen-r870.patch +- Make package singlespec +- Cleanup + +------------------------------------------------------------------- +Thu May 15 10:57:55 UTC 2014 - reddwarf@opensuse.org + +- Update to 0.17.0 +- Remove all patches. Have been applied upstream. +- Add python-PyBindGen-r870.patch + +------------------------------------------------------------------- +Sun Dec 22 14:11:30 UTC 2013 - reddwarf@opensuse.org + +- Add python-PyBindGen-r834.patch + * Fix build problem with the 'bool const &' param type + +------------------------------------------------------------------- +Wed Sep 4 16:33:01 UTC 2013 - reddwarf@opensuse.org + +- Add python-PyBindGen-r831.patch + * Fixes UnboundLocalError in overloading.py + +------------------------------------------------------------------- +Sat Jun 1 08:25:24 UTC 2013 - reddwarf@opensuse.org + +- Initial version + diff --git a/python-PyBindGen.spec b/python-PyBindGen.spec new file mode 100644 index 0000000..46ea5a1 --- /dev/null +++ b/python-PyBindGen.spec @@ -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