summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Moch2018-10-31 06:40:38 -0400
committerDaniel Moch2018-10-31 06:40:38 -0400
commitf01d31309b5f2a1e4660f569b79e3c0444533a46 (patch)
treed875aae117f49d57af49282e37fcbba5fef3f3c2
parent1e362298bf4522a232c657e3276e4ca78a68dc04 (diff)
downloadaur-f01d31309b5f2a1e4660f569b79e3c0444533a46.tar.gz
upgpkg: python-hookmeup 1.0.2-1
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD22
2 files changed, 28 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 78947a6dced..921f25ba3e4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,22 @@
pkgbase = python-hookmeup
pkgdesc = A Git hook to automate your Pipenv and Django workflow
- pkgver = 1.0.1
+ pkgver = 1.0.2
pkgrel = 1
url = https://github.com/djmoch/hookmeup
arch = any
license = MIT
+ checkdepends = python-pytest
+ checkdepends = python-pytest-cov
+ checkdepends = python-pytest-mock
+ checkdepends = python-mock
makedepends = python-pip
+ makedepends = flit
depends = python
provides = python-hookmeup
- conflicts = python-hookmeup
- source = hookmeup-1.0.1.tar.gz::https://files.pythonhosted.org/packages/source/h/hookmeup/hookmeup-1.0.1.tar.gz
- sha256sums = 65ef049e29653252930da427a126f9f4a866b6558442e5934d986df153952d1e
+ source = hookmeup-1.0.2.tar.gz::https://files.pythonhosted.org/packages/source/h/hookmeup/hookmeup-1.0.2.tar.gz
+ source = hookmeup-1.0.2.tar.gz.asc::https://files.pythonhosted.org/packages/source/h/hookmeup/hookmeup-1.0.2.tar.gz.asc
+ validpgpkeys = 72A97F7072DDCE28058DEF30323C9F1784BDDD43
+ sha256sums = cd20f4a73db367849a73d4b5a712e7d066d1875a6d21fda4e826bf55146f81ec
+ sha256sums = SKIP
pkgname = python-hookmeup
diff --git a/PKGBUILD b/PKGBUILD
index 299b27629ff..af48f7adeeb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,24 @@
# Maintainer: Daniel Moch <daniel@danielmoch.com>
pkgname=python-hookmeup
_name=${pkgname#python-}
-pkgver=1.0.1
+pkgver=1.0.2
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}.tar.gz::https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha256sums=('65ef049e29653252930da427a126f9f4a866b6558442e5934d986df153952d1e')
+makedepends=('python-pip' 'flit')
+checkdepends=('python-pytest'
+ 'python-pytest-cov'
+ 'python-pytest-mock'
+ 'python-mock')
+source=("${_name}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"
+ "${_name}-${pkgver}.tar.gz.asc::https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz.asc")
+validpgpkeys=('72A97F7072DDCE28058DEF30323C9F1784BDDD43')
+sha256sums=('cd20f4a73db367849a73d4b5a712e7d066d1875a6d21fda4e826bf55146f81ec'
+ 'SKIP')
build()
{
@@ -20,6 +26,12 @@ build()
flit build --format wheel
}
+check()
+{
+ cd "${srcdir}/${_name}-${pkgver}"
+ python -m pytest
+}
+
package()
{
cd "${srcdir}/${_name}-${pkgver}"