1
0
forked from ports/opt

python3-cairo: fixed footprint mismatches

This commit is contained in:
Tim Biermann 2023-09-30 16:05:21 +02:00
parent 1ab2f62009
commit 65d86af27b
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 18 additions and 17 deletions

View File

@ -1,24 +1,19 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/pycairo/
-rw-rw-r-- root/root usr/include/pycairo/py3cairo.h
-rw-r--r-- root/root usr/include/pycairo/py3cairo.h
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/py3cairo.pc
drwxr-xr-x root/root usr/lib/python3.10/
drwxr-xr-x root/root usr/lib/python3.10/site-packages/
drwxr-xr-x root/root usr/lib/python3.10/site-packages/cairo/
-rw-r--r-- root/root usr/lib/python3.10/site-packages/cairo/__init__.py
-rw-rw-r-- root/root usr/lib/python3.10/site-packages/cairo/__init__.pyi
-rwxr-xr-x root/root usr/lib/python3.10/site-packages/cairo/__init__.py
-rw-r--r-- root/root usr/lib/python3.10/site-packages/cairo/__init__.pyi
drwxr-xr-x root/root usr/lib/python3.10/site-packages/cairo/__pycache__/
-rw-r--r-- root/root usr/lib/python3.10/site-packages/cairo/__pycache__/__init__.cpython-310.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.10/site-packages/cairo/__pycache__/__init__.cpython-310.pyc
-rwxr-xr-x root/root usr/lib/python3.10/site-packages/cairo/_cairo.cpython-310-x86_64-linux-gnu.so
drwxr-xr-x root/root usr/lib/python3.10/site-packages/cairo/include/
-rw-rw-r-- root/root usr/lib/python3.10/site-packages/cairo/include/py3cairo.h
-rw-r--r-- root/root usr/lib/python3.10/site-packages/cairo/include/py3cairo.h
-rw-r--r-- root/root usr/lib/python3.10/site-packages/cairo/py.typed (EMPTY)
drwxr-xr-x root/root usr/lib/python3.10/site-packages/pycairo-1.25.0-py3.10.egg-info/
-rw-rw-r-- root/root usr/lib/python3.10/site-packages/pycairo-1.25.0-py3.10.egg-info/PKG-INFO
-rw-rw-r-- root/root usr/lib/python3.10/site-packages/pycairo-1.25.0-py3.10.egg-info/SOURCES.txt
-rw-rw-r-- root/root usr/lib/python3.10/site-packages/pycairo-1.25.0-py3.10.egg-info/dependency_links.txt
-rw-rw-r-- root/root usr/lib/python3.10/site-packages/pycairo-1.25.0-py3.10.egg-info/top_level.txt
-rw-r--r-- root/root usr/lib/python3.10/site-packages/pycairo-1.25.0.egg-info

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/f8YRQfNOzKu3Mm9Zk99kxnR8oHfi8p9Qx9TBhPzOHF5wDKJxvYwwDitXmKwiBHdFa6/KYsz8IaPOVkf/UJtiAo=
SHA256 (Pkgfile) = dd3129f88971f50a5d1fb766b468256464100680f2ca76f83226e832834c777a
SHA256 (.footprint) = f96252cdf3f079a1eb1ec81e43d23d8b8ba8a31ff1937e4b5dea272e5d9bee58
RWSE3ohX2g5d/Y6vQcMPiaywDRWmWgg4ANalRzrRPWVoX/Px/q/qoOroOJhjvKnI/2wuM2AC24v6akYxJ1fC0zW6bEkuZAmtOg4=
SHA256 (Pkgfile) = add44ec26b5b3058c8ec45545ad5407c53b1f5094844fef620e01cafd09c00a6
SHA256 (.footprint) = 27169aad3b2c5293e1989134a7f976470fba1015cae6d7f1f28f33b94d4c84a9
SHA256 (pycairo-1.25.0.tar.gz) = 37842b9bfa6339c45a5025f752e1d78d5840b1a0f82303bdd5610846ad8b5c4f

View File

@ -5,12 +5,18 @@
name=python3-cairo
version=1.25.0
release=1
release=2
source=(https://github.com/pygobject/pycairo/releases/download/v$version/pycairo-$version.tar.gz)
build() {
cd pycairo-$version
meson setup pycairo-$version build \
--prefix=/usr \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true \
-D python=/usr/bin/python3
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --skip-build --root=$PKG --optimize=1
meson compile -C build
DESTDIR=$PKG meson install -C build
}