summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Vogel <jvogel4@stny.rr.com>2020-06-28 14:00:43 -0400
committerJohn Vogel <jvogel4@stny.rr.com>2020-06-28 14:00:43 -0400
commit8bbfed9c5ebbc3f64a020373e701b19a8c90e5fd (patch)
treef1d37799e376d7a36b286244e7608bce826124ac
parentb168d3f0fdbdfba04b63aff7ea3a1803eb8222b6 (diff)
downloadcontrib-8bbfed9c5ebbc3f64a020373e701b19a8c90e5fd.tar.gz
contrib-8bbfed9c5ebbc3f64a020373e701b19a8c90e5fd.tar.xz
python3-py3c: initial import
-rw-r--r--python3-py3c/.footprint30
-rw-r--r--python3-py3c/.signature5
-rw-r--r--python3-py3c/Pkgfile25
3 files changed, 60 insertions, 0 deletions
diff --git a/python3-py3c/.footprint b/python3-py3c/.footprint
new file mode 100644
index 000000000..f30c938fd
--- /dev/null
+++ b/python3-py3c/.footprint
@@ -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
diff --git a/python3-py3c/.signature b/python3-py3c/.signature
new file mode 100644
index 000000000..73c8b4cc8
--- /dev/null
+++ b/python3-py3c/.signature
@@ -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
diff --git a/python3-py3c/Pkgfile b/python3-py3c/Pkgfile
new file mode 100644
index 000000000..868321845
--- /dev/null
+++ b/python3-py3c/Pkgfile
@@ -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/*
+}

Generated by cgit