Package Details: python-pymunk 5.6.0-1

Git Clone URL: https://aur.archlinux.org/python-pymunk.git (read-only, click to copy)
Package Base: python-pymunk
Description: A wrapper around the 2d physics library Chipmunk
Upstream URL: http://www.pymunk.org/en/latest/
Licenses: MIT
Submitter: mtorromeo
Maintainer: oprypin
Last Packager: oprypin
Votes: 21
Popularity: 0.82
First Submitted: 2014-06-13 08:03
Last Updated: 2020-03-19 09:55

Latest Comments

1 2 3 Next › Last »

oprypin commented on 2020-03-19 09:45

I adopted the package, updated and fixed it. Also applied the suggestion below.

LChris314 commented on 2018-11-11 12:43

Please add python-cffi and python2-cffi to the 'depends'.

DrLuke commented on 2016-03-26 15:39

In the PKGBUILD, change the line "license=MIT" to "license=('MIT')", otherwise it fails.

JPL commented on 2015-05-01 20:58

Update: it is indeed possible to work around this by editing PKGBUILD; replace all references to "chipmunk" with "chipmunk6" and the module will install and import properly.

JPL commented on 2015-05-01 19:55

Installation of this package fails due to unresolved dependency, I dug a bit and discovered it doesn't auto-install chipmunk. Installed that and then tried installing pymunk again, and when I import the module from Python (same result in Python 3.4.3 and 2.7.9) I get this error:
AttributeError: /usr/lib/python3.4/site-packages/pymunk/libchipmunk64.so: undefined symbol: cpInitChipmunk

The version of libchipmunk64.so installed by the chipmunk package is 7.0.0 and has no such method, while pymunk depends on chipmunk 6, so I think that's the problem. Pymunk's author is supposedly working on chipmunk 7 support but there's no ETA.

I'm new to Arch and don't know if this can be worked around at the PKGBUILD level or some such, if so that would be cool until the pymunk is updated.

mindkeep commented on 2014-06-13 15:17

also worth noting. The 2 packages should be able to be installed side by side.

mindkeep commented on 2014-06-13 15:12

meh. I take that back, that doesn't seem to work either.

The split package idea is neat, but it might be easier to have 2 different PKGBUILD files. That would also allow python-pymunk to depend on just python and python2-pymunk to depend on python2.

mindkeep commented on 2014-06-13 15:09

Hmm, I think maybe you want chipmunk to also be a make dependency. Using packer (without chipmunk installed, I get the following:

resolving dependencies...
warning: cannot resolve "chipmunk", a dependency of "python-pymunk"
:: The following package cannot be upgraded due to unresolvable dependencies:
python-pymunk

With chipmunk as a make dependency (and run dependency) the AUR chipmunk package should get pulled in first.

mtorromeo commented on 2014-06-13 08:05

Updated and refactored as split-pkgbuild

mindkeep commented on 2014-06-13 07:13

the latests seems to be 4.0.0. Also is there any chance that we could make this into python-pymunk and python2-pymunk?