blob: e0e2007f10a27ff7bd3d21c1747fbb50e005c729 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer:
pkgname=py3-webassets
_pkgname=webassets
pkgver=0.12.1
pkgrel=3
pkgdesc="Asset management for web development"
options="!check" # 4 tests fail, 2 related to 'nose', 1 to 'pytest'
url="https://pypi.python.org/pypi/webassets"
arch="noarch"
license="BSD-2-Clause"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-nose py3-pytest py3-mock py3-babel"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
disable-test-that-requires-js-babel.patch
"
builddir="$srcdir"/$_pkgname-$pkgver
replaces="py-webassets" # Backwards compatibility
provides="py-webassets=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
nosetests-3.7
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="f62b4108c31780f719128c543852834b1c305fd85b60dfc6f4e95454a83fafa6be03253f5859f9166890b1bfe40f339c6f9524b8091b6ea5a5ea4c31fb928d08 webassets-0.12.1.tar.gz
a4df1bf0d196a5c2a8dcd3f9bc380dccb40a12b11dd182b660ef84f4d7ef082dafa9692a04ba1c7230fa288ff19d1dc2a1009ab56ad021ce15034beb97c8f728 disable-test-that-requires-js-babel.patch"
|