summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Moch2018-08-26 16:39:18 -0400
committerDaniel Moch2018-08-26 16:39:18 -0400
commite6ac20e65cb37e8573fded9cf366c6149062be1d (patch)
tree86efe8f6375bd4147a1f3e585f1702291424e0e8
downloadaur-e6ac20e65cb37e8573fded9cf366c6149062be1d.tar.gz
upgpkg: python-hookmeup 0.1.0-1
-rw-r--r--.SRCINFO18
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD27
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8600bb10e0c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = python-hookmeup
+ pkgdesc = A Git hook to automate your Pipenv and Django workflow
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://github.com/djmoch/hookmeup
+ arch = any
+ license = MIT
+ makedepends = python-pip
+ depends = python
+ provides = python-hookmeup
+ conflicts = python-hookmeup
+ noextract = python-hookmeup-0.1.0-py3-none-any.whl
+ source = hookmeup-0.1.0-py3-none-any.whl::https://files.pythonhosted.org/packages/py3/h/hookmeup/hookmeup-0.1.0-py3-none-any.whl
+ source = https://raw.githubusercontent.com/djmoch/hookmeup/master/LICENSE
+ sha256sums = 57a222ea75bf5e0d5a72d8884647435d8e039955e49138bdbdd997a357dc522f
+ sha256sums = 04ce4be582df887dfa8ad52cf5cacf543a5e0e49dce9be518114fc676c409a09
+
+pkgname = python-hookmeup
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..455254df81a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+pkg/
+src/
+LICENSE
+*.whl
+*.tar.*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c7c1d50dde4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Daniel Moch <daniel@danielmoch.com>
+pkgname=python-hookmeup
+_name=${pkgname#python-}
+pkgver=0.1.0
+pkgrel=1
+pkgdesc='A Git hook to automate your Pipenv and Django workflow'
+provides=('python-hookmeup')
+conflicts=('python-hookmeup')
+arch=('any')
+url='https://github.com/djmoch/hookmeup'
+license=('MIT')
+depends=('python')
+makedepends=('python-pip')
+source=("${_name}-${pkgver}-py3-none-any.whl::https://files.pythonhosted.org/packages/py3/${_name::1}/${_name}/${_name}-${pkgver}-py3-none-any.whl"
+ "https://raw.githubusercontent.com/djmoch/hookmeup/master/LICENSE")
+sha256sums=('57a222ea75bf5e0d5a72d8884647435d8e039955e49138bdbdd997a357dc522f'
+ '04ce4be582df887dfa8ad52cf5cacf543a5e0e49dce9be518114fc676c409a09')
+noextract=("${pkgname}-${pkgver}-py3-none-any.whl")
+
+package()
+{
+ cd "${srcdir}"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ pip install -I --no-warn-script-location --isolated --no-deps --compile --root="${pkgdir}" ${_name}-${pkgver}-py3-none-any.whl
+}
+
+# vim: ft=PKGBUILD sts=2 sw=2 et