summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD22
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..08a25a13b7c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-msgfy
+ pkgdesc = A Python library for converting an Exception instance into a human-readable error message
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://github.com/thombashi/msgfy
+ arch = any
+ license = MIT
+ makedepends = python-setuptools
+ depends = python
+ source = https://github.com/thombashi/msgfy/archive/v0.1.0.tar.gz
+ sha256sums = 5d63a7e50538463b91a5898d95a8cd1c9d06f608e8ab3e6ccd0ca9d9d279c104
+
+pkgname = python-msgfy
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..cae964b27a0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+pkgname='python-msgfy'
+_module='msgfy'
+pkgver='0.1.0'
+pkgrel=1
+pkgdesc="A Python library for converting an Exception instance into a human-readable error message"
+url="https://github.com/thombashi/msgfy"
+depends=('python')
+makedepends=('python-setuptools')
+license=('MIT')
+arch=('any')
+source=("https://github.com/thombashi/msgfy/archive/v${pkgver}.tar.gz")
+sha256sums=('5d63a7e50538463b91a5898d95a8cd1c9d06f608e8ab3e6ccd0ca9d9d279c104')
+
+build() {
+ cd "${srcdir}/${_module}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_module}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}