summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDrew DeVault2018-01-28 16:58:20 +0000
committerDrew DeVault2018-01-28 16:58:29 +0000
commita1d506e0846818aa109677279e9437b888d174cf (patch)
treec92eeb3fdcac231add35c4073a3b9c04dee96763
downloadaur-a1d506e0846818aa109677279e9437b888d174cf.tar.gz
Initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD22
3 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1358b0ed254
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-asif
+ pkgdesc = A Python 3.5, asyncio- and decorator-based IRC framework
+ pkgver = 0.2.1
+ pkgrel = 1
+ url = https://github.com/minus7/asif
+ arch = any
+ license = MIT
+ makedepends = python-setuptools
+ depends = python
+ source = https://files.pythonhosted.org/packages/source/a/asif/asif-0.2.1.tar.gz
+ sha256sums = ce611356802567852dda6323979b678f3fc5568216b997fedc769544f0897ec7
+
+pkgname = python-asif
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..0a2223f3641
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.tar.gz
+*.tar.xz
+src/
+pkg/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f12f8eb51a5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+_name=asif
+pkgname="python-${_name}"
+pkgver=0.2.1
+pkgrel=1
+pkgdesc="A Python 3.5, asyncio- and decorator-based IRC framework"
+url="https://github.com/minus7/asif"
+arch=("any")
+license=("MIT")
+depends=("python")
+makedepends=("python-setuptools")
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha256sums=('ce611356802567852dda6323979b678f3fc5568216b997fedc769544f0897ec7')
+
+build() {
+ cd "${srcdir}/${_name}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_name}-${pkgver}"
+ python setup.py install --root="${pkgdir}/" --optimize=1
+}