summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Moch2018-09-16 17:40:37 -0400
committerDaniel Moch2018-09-16 17:40:37 -0400
commite8d0ac7ff3e8b8357b950e7ef7fc3de0e0bdb32a (patch)
tree552bd549b0670d61f63b12358e278dcdb22c1284
parent159a38ebd70a82a4b8f5ffe4c431b87b5ada58af (diff)
downloadaur-e8d0ac7ff3e8b8357b950e7ef7fc3de0e0bdb32a.tar.gz
upgpkg: python-hookmeup 1.0.0-1
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD19
2 files changed, 14 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d4c33169edd..19526cc3b78 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-hookmeup
pkgdesc = A Git hook to automate your Pipenv and Django workflow
- pkgver = 0.2.0
+ pkgver = 1.0.0
pkgrel = 1
url = https://github.com/djmoch/hookmeup
arch = any
@@ -9,10 +9,7 @@ pkgbase = python-hookmeup
depends = python
provides = python-hookmeup
conflicts = python-hookmeup
- noextract = python-hookmeup-0.2.0-py3-none-any.whl
- source = hookmeup-0.2.0-py3-none-any.whl::https://files.pythonhosted.org/packages/py3/h/hookmeup/hookmeup-0.2.0-py3-none-any.whl
- source = https://raw.githubusercontent.com/djmoch/hookmeup/master/LICENSE
- sha256sums = d74becee145c0ad2d862f06cc74926382065f65616c51a52c60f29abfbb4c5d5
- sha256sums = 04ce4be582df887dfa8ad52cf5cacf543a5e0e49dce9be518114fc676c409a09
+ source = hookmeup-1.0.0.tar.gz::https://files.pythonhosted.org/packages/source/h/hookmeup/hookmeup-1.0.0.tar.gz
+ sha256sums = 8499238460da0b33e263be039343016ef55be1dc4d815f87c3bc24ea924f03fc
pkgname = python-hookmeup
diff --git a/PKGBUILD b/PKGBUILD
index ab77696c1d6..0c7b6ba7e80 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Daniel Moch <daniel@danielmoch.com>
pkgname=python-hookmeup
_name=${pkgname#python-}
-pkgver=0.2.0
+pkgver=1.0.0
pkgrel=1
pkgdesc='A Git hook to automate your Pipenv and Django workflow'
provides=('python-hookmeup')
@@ -11,17 +11,20 @@ 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=('d74becee145c0ad2d862f06cc74926382065f65616c51a52c60f29abfbb4c5d5'
- '04ce4be582df887dfa8ad52cf5cacf543a5e0e49dce9be518114fc676c409a09')
-noextract=("${pkgname}-${pkgver}-py3-none-any.whl")
+source=("${_name}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha256sums=('8499238460da0b33e263be039343016ef55be1dc4d815f87c3bc24ea924f03fc')
+
+build()
+{
+ cd "${srcdir}/${_name}-${pkgver}"
+ flit build --format wheel
+}
package()
{
- cd "${srcdir}"
+ cd "${srcdir}/${_name}-${pkgver}"
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
+ pip install -I --no-warn-script-location --isolated --no-deps --compile --root="${pkgdir}" dist/${_name}-${pkgver}-py2.py3-none-any.whl
}
# vim: ft=PKGBUILD sts=2 sw=2 et