util.get_platform()

Sean Bruno sbruno at ignoranthack.me
Wed Sep 10 01:14:07 UTC 2014


util.get_platform() returns this on our arm platform running current:

freebsd-11.0-CURRENT-arm

I think ports expect:

freebsd-11.0-CURRENT-armv6

e.g. devel/py-gobject3 wants a file in its pkg-plist:
 %%PYTHON_SITELIBDIR%%/pygobject-%%VERSION%%-py%%PYTHON_VER%%-%%OPSYS%
%-%%UNAME_R%%-%%ARCH%%.egg-info

Which is looking for:

pkg-static:
lstat(/usr/ports/devel/py-gobject3/work/stage/usr/local/lib/python2.7/site-packages/pygobject-3.8.1-py2.7-freebsd-11.0-CURRENT-armv6.egg-info): No such file or directory


but, the port is building it as:
cp ./PKG-INFO /usr/ports/devel/py-gobject3/work/stage/usr/local/lib/python2.7/site-packages/pygobject-3.8.1-py2.7-freebsd-11.0-CURRENT-arm.egg-info
 /bin/mkdir -p
'/usr/ports/devel/py-gobject3/work/stage/usr/local/libdata/pkgconfig'
 install  -o root -g wheel -m 0644 pygobject-3.0.pc
'/usr/ports/devel/py-gobject3/work/stage/usr/local/libdata/pkgconfig'

This is a trivial change in the pkg-plist, but I wonder if this is
something "more interesting" in our python distro?

sean



More information about the freebsd-python mailing list