python3-py3c: initial import
This commit is contained in:
parent
b168d3f0fd
commit
8bbfed9c5e
30
python3-py3c/.footprint
Normal file
30
python3-py3c/.footprint
Normal file
@ -0,0 +1,30 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/include/
|
||||
-rw-r--r-- root/root usr/include/py3c.h
|
||||
drwxr-xr-x root/root usr/include/py3c/
|
||||
-rw-r--r-- root/root usr/include/py3c/capsulethunk.h
|
||||
-rw-r--r-- root/root usr/include/py3c/comparison.h
|
||||
-rw-r--r-- root/root usr/include/py3c/compat.h
|
||||
-rw-r--r-- root/root usr/include/py3c/fileshim.h
|
||||
-rw-r--r-- root/root usr/include/py3c/py3shims.h
|
||||
-rw-r--r-- root/root usr/include/py3c/tpflags.h
|
||||
drwxr-xr-x root/root usr/include/python3.7m/
|
||||
drwxr-xr-x root/root usr/include/python3.7m/py3c/
|
||||
-rw-r--r-- root/root usr/include/python3.7m/py3c/capsulethunk.h
|
||||
-rw-r--r-- root/root usr/include/python3.7m/py3c/comparison.h
|
||||
-rw-r--r-- root/root usr/include/python3.7m/py3c/compat.h
|
||||
-rw-r--r-- root/root usr/include/python3.7m/py3c/fileshim.h
|
||||
-rw-r--r-- root/root usr/include/python3.7m/py3c/py3c.h
|
||||
-rw-r--r-- root/root usr/include/python3.7m/py3c/py3shims.h
|
||||
-rw-r--r-- root/root usr/include/python3.7m/py3c/tpflags.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/python3.7/
|
||||
drwxr-xr-x root/root usr/lib/python3.7/site-packages/
|
||||
drwxr-xr-x root/root usr/lib/python3.7/site-packages/py3c-1.1-py3.7.egg-info/
|
||||
-rw-r--r-- root/root usr/lib/python3.7/site-packages/py3c-1.1-py3.7.egg-info/PKG-INFO
|
||||
-rw-r--r-- root/root usr/lib/python3.7/site-packages/py3c-1.1-py3.7.egg-info/SOURCES.txt
|
||||
-rw-r--r-- root/root usr/lib/python3.7/site-packages/py3c-1.1-py3.7.egg-info/dependency_links.txt
|
||||
-rw-r--r-- root/root usr/lib/python3.7/site-packages/py3c-1.1-py3.7.egg-info/top_level.txt
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/pkgconfig/
|
||||
-rw-r--r-- root/root usr/share/pkgconfig/py3c.pc
|
5
python3-py3c/.signature
Normal file
5
python3-py3c/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF39NBCbeCyfVSIyiGnafEwar1fNQLAjvap+mUYccXU7T5c05g0KFa5S7LVywYwwfpnlT/5enCe3mGUwoc9WlKwAA=
|
||||
SHA256 (Pkgfile) = 0a83db38d76929faacee6a399cbef12fe26ad1a4cc9947154bb13b3a6de87b07
|
||||
SHA256 (.footprint) = d67ef97de06dc6553cacfe138cbc2eb94c9d0b2dba986cea8b8c6f1fef83a879
|
||||
SHA256 (py3c-1.1.tar.gz) = c7ffc22bc92dded0ca859db53ef3a0b466f89a9f8aad29359c9fe4ff18ebdd20
|
25
python3-py3c/Pkgfile
Normal file
25
python3-py3c/Pkgfile
Normal file
@ -0,0 +1,25 @@
|
||||
# Description: Library to ease porting C extensions to Python 3
|
||||
# URL: https://py3c.readthedocs.org/
|
||||
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
|
||||
# Depends on: python3-setuptools
|
||||
|
||||
name=python3-py3c
|
||||
version=1.1
|
||||
release=2
|
||||
source=(https://github.com/encukou/${name#*-}/archive/v$version/${name#*-}-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd ${name#*-}-$version
|
||||
|
||||
sed -i 's,install: py3c.pc,install:,' Makefile
|
||||
|
||||
/usr/bin/python3 setup.py build
|
||||
make prefix=/usr py3c.pc
|
||||
make prefix=$PKG/usr install
|
||||
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
|
||||
|
||||
#rm -r $PKG/usr/include/python*
|
||||
|
||||
# fix permissions
|
||||
chmod -R go-w $PKG/*
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user