You are not logged in.

#1 2014-03-23 17:15:06

chinchi
Member
Registered: 2013-07-11
Posts: 9

[Solved] PKGBUILD not up to date for pybindgen

Hi,

I want to programm a wrapper for C++/python by using pybindgen. I downloaded it from the AUR. While I'm running
makepkg I got the following errors:

==> Making package: python-pybindgen 0.16.0-2 (Sun Mar 23 17:38:19 CET 2014)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for vain: 
error: target not found: pygccxml
==> ERROR: 'pacman' failed to install missing dependencies.

Do I have to install now gccxml-git? Is the PKGBUILD for bindgen still up to date? It depends on
Python2, am I right? So I have to change the PKGBUILD for pybindgen and gccxml to use it for python 3, I'v never
did something like this before.

Can so. help me with it?




Vanessa

(p.s.: sorry for my englis)

Last edited by chinchi (2014-03-26 18:39:16)

Offline

#2 2014-03-23 17:21:57

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [Solved] PKGBUILD not up to date for pybindgen

pygccxml is no longer in the official repositories, hence why pacman won't find it.

It's still available in the AUR though.


Burninate!

Offline

#3 2014-03-23 17:24:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] PKGBUILD not up to date for pybindgen

Moving to AUR Issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2014-03-23 19:09:21

chinchi
Member
Registered: 2013-07-11
Posts: 9

Re: [Solved] PKGBUILD not up to date for pybindgen

Gcool wrote:

pygccxml is no longer in the official repositories, hence why pacman won't find it.

It's still available in the AUR though.

I understood, but how am I supposed to get then pybindgen?

Offline

#5 2014-03-23 19:11:37

HalosGhost
Forum Fellow
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: [Solved] PKGBUILD not up to date for pybindgen

chinchi wrote:

I understood, but how am I supposed to get then pybindgen?

Get it's dependencies first. Build them, then get it.

All the best,

-HG

Offline

#6 2014-03-23 19:14:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] PKGBUILD not up to date for pybindgen

chinchi wrote:
Gcool wrote:

pygccxml is no longer in the official repositories, hence why pacman won't find it.

It's still available in the AUR though.

I understood, but how am I supposed to get then pybindgen?

Read the wiki article about AUR.

Offline

#7 2014-03-24 11:17:42

chinchi
Member
Registered: 2013-07-11
Posts: 9

Re: [Solved] PKGBUILD not up to date for pybindgen

karol wrote:
chinchi wrote:
Gcool wrote:

pygccxml is no longer in the official repositories, hence why pacman won't find it.

It's still available in the AUR though.

I understood, but how am I supposed to get then pybindgen?

Read the wiki article about AUR.


Yes, but this PKGBUILD is

1) not for python3 versions, becaus of the dependencies to python2
   there is not a new version yet: old!

2) here is the link, aur.archlinux.org/packages/pygccxml/where the users from AUR wrote, that PKBUILD is not up to date
   and tried this:

Kommentar von bchretien

2013-06-06 13:22

Here is an up-to-date version of the PKGBUILD:

https://github.com/bchretien/PKGBUILD/blob/master/pygccxml/PKGBUILD	
Kommentar von mortbauer

2013-05-06 15:02

Hey can you please update the package, first the dependency is gccxml-git and the url isn't working anymore as well. Thank you

and by the way, here they wrote, that gccxml-git is not necessary anymore and should be removed:
aur.archlinux.org/packages/gccxml-git/

that means, I have to install  pygccxml, which  depends on gccxml-git, what is not longer relevant and get
the actual PKBUILD, which uses only python2 but I need the pythn3 versions for my programms,
That is confusing for me, really!

cheers chinchi

Last edited by chinchi (2014-03-24 11:26:22)

Offline

#8 2014-03-24 11:46:57

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,893

Re: [Solved] PKGBUILD not up to date for pybindgen

and by the way, here they wrote, that gccxml-git is not necessary anymore and should be removed:
aur.archlinux.org/packages/gccxml-git/

Looking at the aur page comments, it seems they were for an older gccxml pacakge that was merged into the current gccxml-git package.

However pygccxml 1.0.0 was released on 2008-10-20 so is rather old (was python3 even around in 2008 ? ).

Python-pybindgen has python2 as a hard depedency, so it should be called python2-pybindgen.

Chinchi, looks like you need to search further for an alternative to sip/pyqt .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#9 2014-03-24 18:49:48

chinchi
Member
Registered: 2013-07-11
Posts: 9

Re: [Solved] PKGBUILD not up to date for pybindgen

Lone_Wolf wrote:

and by the way, here they wrote, that gccxml-git is not necessary anymore and should be removed:
aur.archlinux.org/packages/gccxml-git/

Looking at the aur page comments, it seems they were for an older gccxml pacakge that was merged into the current gccxml-git package.

However pygccxml 1.0.0 was released on 2008-10-20 so is rather old (was python3 even around in 2008 ? ).

Python-pybindgen has python2 as a hard depedency, so it should be called python2-pybindgen.

Chinchi, looks like you need to search further for an alternative to sip/pyqt .

Yes, you are right. I already installed Sip and new version of pyqt, but the documentation for sip
is not so good for me as a beginner how wants to write wrapping files and I saw the benchmarks for
pybindgen, sip,boost::python. Boost::python is the slowest from all.

I would rather prefer a new version of pybindgen, why is there not a new version of pybindgen?
Please, what can I do to use it?


best regards chinchi

Last edited by chinchi (2014-03-24 23:01:13)

Offline

#10 2014-03-25 20:51:26

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,893

Re: [Solved] PKGBUILD not up to date for pybindgen

http://pybindgen.readthedocs.org/en/lat … n-versions

It does seem pybindgen CAN work with python3 , also GCCXML and PyGCCXML are listed as OPTIONAL on the pybindgen page.

edit

Ok, here is a PKGBUILD to build pybindgen against python3 .
pygccxml is disabled, so you may miss some functionality.
The package does build and the tests that don't require pygccxml run succesfull.

# Contributor: Benjamin Chretien <chretien at lirmm dot fr>
# Contributor: Sebastien Binet <binet@lblbox>
# Contributor: Lone_Wolf <lonewolf at xs4all dot nl>

pkgname=python3-pybindgen
_pkgname=PyBindGen
pkgver=0.17.0
pkgrel=1
pkgdesc="A tool to generate Python bindings for C/C++ code"
url="http://pypi.python.org/pypi/PyBindGen"
arch=('any')
license=('LGPL')
depends=('python')
makedepends=('waf' 'boost')
provides=('python-pybindgen')
conflicts=('python-pybindgen-bzr')
source=("https://pypi.python.org/packages/source/P/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha512sums=('0b16986f84b6acd8ff490251faf1eb717983113529966e1530ddb26a4015e7e4bedda89f2350b6263bede6699e28fd29c0e6930af349d78b1e638301e0a4c1d9')

build() {
  cd "${srcdir}"/"${_pkgname}"-"${pkgver}"
  waf configure --prefix=/usr --disable-pygccxml
  waf
  waf --examples
  
}

check() {
  cd "${srcdir}"/"${_pkgname}"-"${pkgver}"
  waf check
}

package() {
  cd "${srcdir}"/"${_pkgname}"-"${pkgver}"
  waf install --prefix=/usr --destdir=${pkgdir}
}

Last edited by Lone_Wolf (2014-03-25 21:40:57)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#11 2014-03-26 18:38:36

chinchi
Member
Registered: 2013-07-11
Posts: 9

Re: [Solved] PKGBUILD not up to date for pybindgen

Hey, THANKS, your the BEST!!!! wink

Last edited by chinchi (2014-03-26 18:38:51)

Offline

Board footer

Powered by FluxBB