summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonuk Raval2019-08-20 20:18:46 -0400
committerRonuk Raval2019-08-20 20:23:01 -0400
commit826b969564c62fe3c5347ce53e27918f7c598c34 (patch)
tree791c4afa47793862fe2add2051523b93f88281c8
downloadaur-826b969564c62fe3c5347ce53e27918f7c598c34.tar.gz
v0.4.1
-rw-r--r--.SRCINFO13
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD27
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..97326a515fa
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = python-meta
+ pkgdesc = Python Meta Programming
+ pkgver = 0.4.1
+ pkgrel = 1
+ url = https://github.com/srossross/Meta
+ arch = any
+ license = BSD
+ depends = python
+ source = python-meta-0.4.1.tar.gz::https://github.com/srossross/Meta/archive/0.4.1.tar.gz
+ sha256sums = 9d918bd5277ce4f41f9ffe25584928cc04001ca2aae25d1f7f1dac87e0ba398c
+
+pkgname = python-meta
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..cef7f42b5f2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+/pkg
+/src
+/*.pkg.tar
+/*.pkg.tar.xz
+/python-meta-*.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d1dc02ce141
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Ronuk Raval <ronuk.raval at gmail dot com>
+
+pkgname=python-meta
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="Python Meta Programming"
+arch=('any')
+url="https://github.com/srossross/Meta"
+license=('BSD')
+depends=(python)
+source=(
+ ${pkgname}-${pkgver}.tar.gz::https://github.com/srossross/Meta/archive/${pkgver}.tar.gz
+)
+sha256sums=(
+ 9d918bd5277ce4f41f9ffe25584928cc04001ca2aae25d1f7f1dac87e0ba398c
+)
+
+build() {
+ cd "Meta-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "Meta-${pkgver}"
+ python setup.py install --skip-build --root="$pkgdir/" --optimize=1
+ install -D -m644 license.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}