summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Tia2015-08-15 11:02:00 -0600
committerJavier Tia2015-08-15 11:02:00 -0600
commitccbe6fd122f346be4b115f0e96006815abaa28c6 (patch)
tree41bc4491e50bf8d8fdd0a13fb53a213a4d338765
downloadaur-ccbe6fd122f346be4b115f0e96006815abaa28c6.tar.gz
Initial python2-fusepy package release
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD23
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b5bcfaa5870
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = python2-fusepy
+ pkgdesc = Simple ctypes bindings for FUSE
+ pkgver = 2.0.2
+ pkgrel = 1
+ url = https://github.com/terencehonles/fusepy
+ arch = any
+ license = custom:ISCL
+ makedepends = python2-setuptools
+ depends = fuse>=2.6
+ depends = python2
+ conflicts = python2-fuse
+ source = https://github.com/terencehonles/fusepy/archive/v2.0.2.tar.gz
+ sha256sums = 31fe3f8731d33200fea2f97ab64a1b8e68dae0b48c5c1bd9e7485a9905636bc6
+
+pkgname = python2-fusepy
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3fb6f100ed4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Javier Tia <javier.tia at gmail dot com>
+pkgname='python2-fusepy'
+pkgver=2.0.2
+pkgrel=1
+pkgdesc='Simple ctypes bindings for FUSE'
+url='https://github.com/terencehonles/fusepy'
+arch=('any')
+license=('custom:ISCL')
+depends=('fuse>=2.6' 'python2')
+makedepends=('python2-setuptools')
+conflicts=('python2-fuse')
+source=("https://github.com/terencehonles/fusepy/archive/v${pkgver}.tar.gz")
+sha256sums=('31fe3f8731d33200fea2f97ab64a1b8e68dae0b48c5c1bd9e7485a9905636bc6')
+
+package() {
+ cd "${srcdir}/fusepy-${pkgver}"
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+
+ sed -n '/Copyright/,/ THIS SOFTWARE[.]/p' fuse.py > LICENSE
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ft=sh ts=2 sw=2 et: