This appears to be a compiled library that is specific to a
particular python vresion. That means you need to name the
package accordingly (for example, pykqueue-py23)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The compile process does several
python -c "import sys; print sys.[whatever]
to determine version and path information.
Unfortunately, the python that runs (i.e., the first
"python" in PATH) is non-deterministic at this point.
'Depends:python23' only installs /sw/bin/python23, and the
package that does install /sw/bin/python ("python", which is
not a Depends) could install that file as different python
versions. And if that python isn't found and /usr/bin/python
(which is 2.3) runs, compiling crashes because Apple's
python's build tools suck.
Somehow you gotta either pass flags somewhere or hack
Makefile.pre.in so that /sw/bin/python23 is used instead of
"python". For many python modules, that's as simple as
setting PYTHON=%p/bin/python23 before calling make.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=923948
adding patch
Logged In: YES
user_id=923948
adding patch
Logged In: YES
user_id=923948
added 'Depends: python23 | python23-nox',
thought 'Type: python' would have sufficed
Logged In: YES
user_id=535292
This appears to be a compiled library that is specific to a
particular python vresion. That means you need to name the
package accordingly (for example, pykqueue-py23)
Logged In: YES
user_id=535292
It also installed directly into %p instead of %i.
Logged In: YES
user_id=923948
fixed
pykqueue-py23.patch
Logged In: YES
user_id=535292
The compile process does several
python -c "import sys; print sys.[whatever]
to determine version and path information.
Unfortunately, the python that runs (i.e., the first
"python" in PATH) is non-deterministic at this point.
'Depends:python23' only installs /sw/bin/python23, and the
package that does install /sw/bin/python ("python", which is
not a Depends) could install that file as different python
versions. And if that python isn't found and /usr/bin/python
(which is 2.3) runs, compiling crashes because Apple's
python's build tools suck.
Somehow you gotta either pass flags somewhere or hack
Makefile.pre.in so that /sw/bin/python23 is used instead of
"python". For many python modules, that's as simple as
setting PYTHON=%p/bin/python23 before calling make.
pykqueue-py23.info
Logged In: YES
user_id=923948
fixed- setting PYTHON worked
Logged In: YES
user_id=286406
gyar: It would be great if you could adjust the "Group" setting if
you update the submission. Thanks.
Logged In: YES
user_id=535292
Looks great! Adding to CVS.
Thanks.