Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pykg-config build for 12.0/13.0 #960

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions 10.9-libcxx/stable/main/finkinfo/devel/pykg-config.info
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: pykg-config
Version: 1.3.0
Revision: 3
Revision: 4
Source: https://files.pythonhosted.org/packages/source/p/%n/%n-%v.tar.gz
Source-Checksum: SHA256(9c646103c4390bbc5070ab7075a271970333ddad54dc245df5628ed8e3dc3624)
BuildDepends: pkgconfig-common (= 3-1)
Expand All @@ -12,10 +12,13 @@ PatchScript: <<
CompileScript: <<
#!/bin/sh -evx
pc_path=`cat %p/share/pkgconfig-common/pc-path`
/usr/bin/python setup.py build_py --with-pc-path="$pc_path" build_scripts
[ -x /usr/bin/python ] || pyversion=3
/usr/bin/python$pyversion setup.py build_py --with-pc-path="$pc_path" build_scripts
<<
InstallScript: <<
/usr/bin/python setup.py install --prefix=%p --install-lib=%p/lib/%n/lib --root=%d --skip-build
#!/bin/sh -ev
[ -x /usr/bin/python ] || pyversion=3
/usr/bin/python$pyversion setup.py install --prefix=%p --install-lib=%p/lib/%n/lib --root=%d --skip-build
mv %i/bin/pykg-config.py %i/bin/pykg-config.real
install -m 755 %p/share/pkgconfig-common/pc-resort %i/bin/pykg-config

Expand All @@ -25,7 +28,7 @@ InstallScript: <<
<<
DocFiles: LICENSE.txt README.txt
DescPackaging: <<
Uses system-python for maximum portability and availability at
Uses system-python[3] for maximum portability and availability at
lowest levels of dep trees. And therefore install in private
libdir to avoid pythonversion dependency.

Expand Down