diff options
author | jakob | 2020-09-30 02:31:40 +0200 |
---|---|---|
committer | jakob | 2020-09-30 02:31:40 +0200 |
commit | 8c94bf9c5521d017142bbe32088ee4d0a8ae707a (patch) | |
tree | 22185d260f60eaf3035902659633a5128fdceee5 | |
parent | 922b4ef0618af87df280c4ff5b93ee542bfc1024 (diff) | |
download | aur-8c94bf9c5521d017142bbe32088ee4d0a8ae707a.tar.gz |
Build from source & Run tests
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 15 insertions, 8 deletions
@@ -1,17 +1,18 @@ pkgbase = servefile pkgdesc = Serve or receive files from shell via a small HTTP server pkgver = 0.5.1 - pkgrel = 1 - url = http://seba-geek.de/stuff/servefile/ + pkgrel = 2 + url = https://github.com/sebageek/servefile arch = any license = GPL3 + checkdepends = python-tox makedepends = git makedepends = bash depends = python provides = servefile conflicts = servefile - source = https://files.pythonhosted.org/packages/source/s/servefile/servefile-0.5.1.tar.gz - sha256sums = 802ab4c513ea7f1756852025ad2234c5dd0cb75243a2e277aea9eae8325d5511 + source = https://github.com/sebageek/servefile/archive/v0.5.1.tar.gz + sha256sums = 65bf1eba442ab356cbda54d9ce51471ca6df9ec87d3338a02a5bfb5cb062c157 pkgname = servefile @@ -3,17 +3,23 @@ pkgname=servefile pkgver=0.5.1 -pkgrel=1 +pkgrel=2 pkgdesc="Serve or receive files from shell via a small HTTP server" arch=('any') -url="http://seba-geek.de/stuff/servefile/" +url="https://github.com/sebageek/servefile" license=('GPL3') depends=('python') makedepends=('git' 'bash') +checkdepends=('python-tox') provides=("${pkgname}") conflicts=("${pkgname}") -source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz") -sha256sums=('802ab4c513ea7f1756852025ad2234c5dd0cb75243a2e277aea9eae8325d5511') +source=("https://github.com/sebageek/${pkgname}/archive/v${pkgver}.tar.gz") +sha256sums=('65bf1eba442ab356cbda54d9ce51471ca6df9ec87d3338a02a5bfb5cb062c157') + +check() { + cd "$srcdir/$pkgname-$pkgver" + tox -e py3 +} package() { cd "$srcdir/$pkgname-$pkgver" |