Package Details: python-pybindgen 0.22.1-1

Git Clone URL: https://aur.archlinux.org/python-pybindgen.git (read-only, click to copy)
Package Base: python-pybindgen
Description: A tool to generate Python bindings for C/C++ code
Upstream URL: https://github.com/gjcarneiro/pybindgen
Licenses: LGPL
Submitter: bins
Maintainer: petronny
Last Packager: petronny
Votes: 8
Popularity: 0.000000
First Submitted: 2009-01-30 21:07 (UTC)
Last Updated: 2022-06-16 08:13 (UTC)

Latest Comments

1 2 Next › Last »

taba commented on 2023-11-13 02:35 (UTC)

Why use md5 instead of sha256 or require python-pip? Also, I suggest putting ${srcdir}/${_pkgname}-$pkgver in double quotes.

jamincollins commented on 2022-01-14 23:04 (UTC) (edited on 2022-01-14 23:05 (UTC) by jamincollins)

This fails to build in a clean environment with current versions of python.

The following patch fixes the build:

diff --git a/PKGBUILD b/PKGBUILD
index 3d81b9c3c577ebd895eafc7ec06fcd6ac09eb9ff..097c28a28a71b55c68eef56ae9859d48956fb8cf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,8 @@ url='https://github.com/gjcarneiro/pybindgen'
 arch=('i686' 'x86_64')
 license=('LGPL')
 depends=('python')
-makedepends=('python-setuptools')
+makedepends=('python-setuptools'
+             'python-pip')
 # Note: pygccxml does not support Python 3 yet
 #optdepends=('gccxml' 'pygccxml')
 source=("https://pypi.python.org/packages/source/P/PyBindGen/PyBindGen-${pkgver}.tar.gz")

petronny commented on 2017-10-01 09:26 (UTC)

Please update and merge python2-pybindgen into this package sample PKGBUILD: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-librosa

frol commented on 2017-05-19 13:54 (UTC)

@alex.forencich I have proposed a fix for Python 3.5+ support to PyBindGen: https://github.com/gjcarneiro/pybindgen/pull/11

alex.forencich commented on 2016-11-08 19:17 (UTC)

Fails to build: [ 8/10] cxx: build/tests/foomodule.cc -> build/tests/foomodule.cc.4.o tests/boost/barmodule.cc:500:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/boost/barmodule.cc:756:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:1323:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:1542:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:1724:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:1874:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:3148:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:3337:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:3548:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:3741:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:4127:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:5965:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:6115:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:6259:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:6370:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:6519:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:6787:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:7168:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:7379:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:7591:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:7814:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:8127:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:8381:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:8596:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:9291:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:9840:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:9992:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:10224:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:10796:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:10997:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:11047:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:11249:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:11299:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:11593:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:11739:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:11925:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:12329:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:12463:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:12596:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:12729:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:12954:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:13143:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:13350:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:13543:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:13593:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:13777:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:13827:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:14002:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:14052:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:14239:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:14289:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:14472:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^ tests/foomodule.cc:14522:1: error: invalid conversion from ‘cmpfunc {aka void*}’ to ‘PyAsyncMethods*’ [-fpermissive] }; ^

bchretien commented on 2014-03-27 10:35 (UTC)

@Lone_Wolf: good points, thanks for the investigation ;-) Moving to waf gives me: ==> Starting build()... Error: Cannot unpack waf lib into /usr/lib/waf/.waf-1.7.15-af648a117ce281087d8735a3803e0ebf Move waf in a writable directory ==> ERROR: A failure occurred in build(). Apparently I'm not the only one with this error (e.g. https://aur.archlinux.org/packages/oregano/), running sudo waf "solves" it.

Lone_Wolf commented on 2014-03-27 09:04 (UTC)

Thanks, bchretien . a few comments : pygccxml hasn't been ported to python3, so won't be used and gives build warnings. gccxml-git does not depend on python, so does work but i don't know if there are advantages of including it without a pygccxml python3 module. pybindgen had no problem at all using stock waf instead of the upstream supplied version, you should be able to change from ./waf to waf .

bchretien commented on 2014-03-25 21:42 (UTC)

@Lone_Wolf: this package now uses Python3, and I added a python2-pybindgen that uses Python2.

Lone_Wolf commented on 2014-03-25 20:54 (UTC)

0.17 is out, also given the hard depeendcy on python2 i feel this package should be named python2-pybindgen .

bchretien commented on 2013-11-04 20:54 (UTC)

@croxis: here it is http://pastebin.com/tkvDmDZA