diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2018-09-18 02:00:09 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2018-09-18 02:00:09 +0000 |
commit | 3eef3c84f5d830f3621d5326577f25bb925abca6 (patch) | |
tree | 33a61eeb7b2ccb634d670df35c35a0997c4f2f8e /user/py3-attrs/APKBUILD | |
parent | d079f866e1a31f54e0c3f3d76f2f5cc6380a77cb (diff) | |
parent | a13a5cba375dbb9b56d0df2d9f1a78d4709d50a8 (diff) | |
download | packages-3eef3c84f5d830f3621d5326577f25bb925abca6.tar.gz packages-3eef3c84f5d830f3621d5326577f25bb925abca6.tar.bz2 packages-3eef3c84f5d830f3621d5326577f25bb925abca6.tar.xz packages-3eef3c84f5d830f3621d5326577f25bb925abca6.zip |
Merge branch 'sshfs' into 'master'
Add fuse3, sshfs, and some undeclared dependencies for py3-pytest
See merge request !60
Diffstat (limited to 'user/py3-attrs/APKBUILD')
-rw-r--r-- | user/py3-attrs/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/user/py3-attrs/APKBUILD b/user/py3-attrs/APKBUILD new file mode 100644 index 000000000..fad246453 --- /dev/null +++ b/user/py3-attrs/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Jean-Louis Fuchs <ganwell@fangorn.ch> +# Maintainer: Max Rees <maxcrees@me.com> +pkgname=py3-attrs +pkgver=18.2.0 +pkgrel=0 +pkgdesc="Python classes without boilerplate" +url="https://www.attrs.org" +arch="noarch" +options="!check" # Circular dependency with py3-pytest. Passes on x86_64 +license="MIT" +depends="python3" +makedepends="python3-dev" +#checkdepends="py3-tox" +source="py3-attrs-$pkgver.tar.gz::https://github.com/python-attrs/attrs/archive/$pkgver.tar.gz" +builddir="$srcdir/attrs-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + tox -e py36 +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="01bcd8d492f0b7e64ae42e311b0e443d2b365d98021d8c15f8003da084f48cd20456c12defd734d3386979bb69ac2bebafa1d14692c6dad69b084929992b2c2d py3-attrs-18.2.0.tar.gz" |