[MacPorts] #38253: py-xattr: Upgrade / new port 'python-pxattr' possible?
#38253: py-xattr: Upgrade / new port 'python-pxattr' possible? --------------------+-------------------------------- Reporter: mail@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: py27-xattr --------------------+-------------------------------- Hi there, I tried to install bup (github.com/apenwarr/bup/), whose tests fail because 'python-xattr module is too old; install python-pyxattr instead.' I only found these on macports:
port search xattr|grep python py-xattr @0.6.1 (python) py24-xattr @0.6.1 (python) py25-xattr @0.6.1 (python) py26-xattr @0.6.1 (python) py27-xattr @0.6.1 (python)
Is it possible to upgrade the py-xattr port to the newer version? Or to create an additional port fpr python-pyxattr? Please dont ask me what exactly the difference is, if needed I could contact the bup authors what exactly needs to be done/included. Thanks in advance, Johannes -- Ticket URL: <https://trac.macports.org/ticket/38253> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38253: py-xattr: Upgrade / new port 'python-pxattr' possible? -------------------------------------------------+------------------------- Reporter: mail@… | Owner: perry@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: py-xattr py24-xattr py25-xattr | py26-xattr py27-xattr | -------------------------------------------------+------------------------- Changes (by raimue@…): * owner: macports-tickets@… => perry@… * cc: arsptr@… (added) * port: py27-xattr => py-xattr py24-xattr py25-xattr py26-xattr py27-xattr Old description:
Hi there,
I tried to install bup (github.com/apenwarr/bup/), whose tests fail because 'python-xattr module is too old; install python-pyxattr instead.'
I only found these on macports:
port search xattr|grep python py-xattr @0.6.1 (python) py24-xattr @0.6.1 (python) py25-xattr @0.6.1 (python) py26-xattr @0.6.1 (python) py27-xattr @0.6.1 (python)
Is it possible to upgrade the py-xattr port to the newer version? Or to create an additional port fpr python-pyxattr?
Please dont ask me what exactly the difference is, if needed I could contact the bup authors what exactly needs to be done/included.
Thanks in advance,
Johannes
New description: Hi there, I tried to install bup (github.com/apenwarr/bup/), whose tests fail because 'python-xattr module is too old; install python-pyxattr instead.' I only found these on macports: {{{
port search xattr|grep python py-xattr @0.6.1 (python) py24-xattr @0.6.1 (python) py25-xattr @0.6.1 (python) py26-xattr @0.6.1 (python) py27-xattr @0.6.1 (python) }}}
Is it possible to upgrade the py-xattr port to the newer version? Or to create an additional port fpr python-pyxattr? Please dont ask me what exactly the difference is, if needed I could contact the bup authors what exactly needs to be done/included. Thanks in advance, Johannes -- Comment: Please remember to use WikiFormatting and add maintainers to CC. -- Ticket URL: <https://trac.macports.org/ticket/38253#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38253: new port 'python-pxattr' possible? ----------------------+-------------------------------- Reporter: mail@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: | ----------------------+-------------------------------- Changes (by jmr@…): * cc: arsptr@… (removed) * version: 2.1.3 => * owner: perry@… => macports-tickets@… * type: update => request * port: py-xattr py24-xattr py25-xattr py26-xattr py27-xattr => Comment: https://pypi.python.org/pypi/pyxattr is a different module to https://pypi.python.org/pypi/xattr and the latter is what is provided by the py-xattr port. (It's also outdated, but that would be a different ticket.) -- Ticket URL: <https://trac.macports.org/ticket/38253#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38253: new port 'python-pxattr' possible? ----------------------+-------------------------------- Reporter: mail@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: | ----------------------+-------------------------------- Comment (by mail@…): Any news? Is it possible to add a new port for python-pyxattr? Thanks, Johannes -- Ticket URL: <https://trac.macports.org/ticket/38253#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#38253: new port 'python-pxattr' possible? ----------------------+-------------------------------- Reporter: mail@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: | ----------------------+-------------------------------- Comment (by mail@…): I created a portfile (or rather modified an existing one), and I get stuck here: {{{ ---> Building py27-pyxattr DEBUG: Executing proc-pre-org.macports.build-build-0 DEBUG: Executing org.macports.build (py27-pyxattr) DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-arch x86_64' CXXFLAGS='-arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.8' CXX='/usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build /_Users_Shared_macports_Lokales_Repository_python_py- pyxattr/py27-pyxattr/work/.CC_PRINT_OPTIONS' F90FLAGS='-m64' LDFLAGS='-arch x86_64' FCFLAGS='-m64' OBJC='/usr/bin/clang' OBJCFLAGS='-arch x86_64' FFLAGS='-m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build /_Users_Shared_macports_Lokales_Repository_python_py- pyxattr/py27-pyxattr/work/pyxattr-0.5.2" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build' DEBUG: Executing command line: cd "/opt/local/var/macports/build /_Users_Shared_macports_Lokales_Repository_python_py- pyxattr/py27-pyxattr/work/pyxattr-0.5.2" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build running build running build_ext building 'xattr' extension /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -D_XATTR_VERSION="0.5.2" -D_XATTR_AUTHOR="Iustin Pop" -D_XATTR_EMAIL="iusty@k1024.org" -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c xattr.c -o build/temp.macosx-10.8-x86_64-2.7/xattr.o -Wall -Werror xattr.c:25:10: fatal error: 'attr/xattr.h' file not found #include <attr/xattr.h> ^ 1 error generated. error: command '/usr/bin/clang' failed with exit status 1 Command failed: cd "/opt/local/var/macports/build /_Users_Shared_macports_Lokales_Repository_python_py- pyxattr/py27-pyxattr/work/pyxattr-0.5.2" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build Exit code: 1 Error: org.macports.build for port py27-pyxattr returned: command execution failed }}} The developer, whom I asked for help, said the xattr.h should be installed by some devel-package on linux machines. Where to get it on OSX? Shouldn't it be somewhere in the xattr port? Thanks, Johannes -- Ticket URL: <https://trac.macports.org/ticket/38253#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#38253: new port 'python-pxattr' possible? ----------------------+-------------------------------- Reporter: mail@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: | ----------------------+-------------------------------- Comment (by nad@…): Does this package work on OS X? AFAIK, Linux extended attributes use a different API than OS X and BSD extended attributes. That's why, for example, the new standard library support for extended attributes in Python 3.3 is only supported on Linux at the moment: http://docs.python.org/3/library/os.html#linux-extended-attributes -- Ticket URL: <https://trac.macports.org/ticket/38253#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts