summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheJackiMonster2021-03-31 17:24:04 +0200
committerTheJackiMonster2021-03-31 17:24:04 +0200
commit772d9f187a574346fd040ecbfd34d5bff411682c (patch)
treefff2143ec80a33aabdcabd80b79ce0d5ad28a2cd
downloadaur-772d9f187a574346fd040ecbfd34d5bff411682c.tar.gz
Initial commit
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD31
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4ed6906a945
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = python-pep-adapter-git
+ pkgdesc = p≡p Python adapter
+ pkgver = 2.1.3
+ pkgrel = 1
+ url = https://gitea.pep.foundation/pEp.foundation/pEpPythonAdapter
+ arch = any
+ license = GPL3
+ makedepends = git
+ makedepends = python
+ depends = python
+ depends = pep-engine
+ depends = boost
+ depends = boost-libs
+ depends = gcc
+ provides = python-pep-adapter
+ source = git+https://gitea.pep.foundation/pEp.foundation/pEpPythonAdapter.git
+ sha256sums = SKIP
+
+pkgname = python-pep-adapter-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7f576b37bcd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Tobias Frisch <thejackimonster@gmail.com>
+
+_name=pEpPythonAdapter
+pkgname=python-pep-adapter-git
+pkgver=2.1.3
+pkgrel=1
+pkgdesc="p≡p Python adapter"
+url="https://gitea.pep.foundation/pEp.foundation/pEpPythonAdapter"
+depends=('python' 'pep-engine' 'boost' 'boost-libs' 'gcc')
+makedepends=('git' 'python')
+optdepends=()
+license=('GPL3')
+arch=('any')
+source=("git+https://gitea.pep.foundation/pEp.foundation/pEpPythonAdapter.git")
+sha256sums=('SKIP')
+provides=('python-pep-adapter')
+
+pkgver() {
+ cd "$srcdir/${_name}"
+ git tag | grep '^[0-9]' | sort -V -r | head -n1
+}
+
+build() {
+ cd "$srcdir/${_name}"
+ python setup.py build_ext
+}
+
+package() {
+ cd "$srcdir/${_name}"
+ python setup.py install --root="$pkgdir" --optimize=1
+}