From c4d41702f49cd014f5f5fab9dbc52bcad5cc9908 Mon Sep 17 00:00:00 2001 From: Max Rees Date: Sat, 15 Sep 2018 19:10:28 -0400 Subject: user/py3-attrs: new package --- user/py3-attrs/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 user/py3-attrs/APKBUILD (limited to 'user/py3-attrs') diff --git a/user/py3-attrs/APKBUILD b/user/py3-attrs/APKBUILD new file mode 100644 index 000000000..8acb9ced9 --- /dev/null +++ b/user/py3-attrs/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Jean-Louis Fuchs +# Maintainer: Max Rees +pkgname=py3-attrs +pkgver=18.2.0 +pkgrel=0 +pkgdesc="Python classes without boilerplate" +url="https://www.attrs.org" +arch="noarch" +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" -- cgit v1.2.3-70-g09d2 From 9122dc3237518aadf0f67473121320c38f6018b5 Mon Sep 17 00:00:00 2001 From: Max Rees Date: Sat, 15 Sep 2018 23:41:33 -0400 Subject: user/py3-pytest: add undeclared dependencies and disable circular ones --- user/py3-attrs/APKBUILD | 3 ++- user/py3-pytest/APKBUILD | 4 ++-- user/py3-six/APKBUILD | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) (limited to 'user/py3-attrs') diff --git a/user/py3-attrs/APKBUILD b/user/py3-attrs/APKBUILD index 8acb9ced9..fad246453 100644 --- a/user/py3-attrs/APKBUILD +++ b/user/py3-attrs/APKBUILD @@ -6,10 +6,11 @@ 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" +#checkdepends="py3-tox" source="py3-attrs-$pkgver.tar.gz::https://github.com/python-attrs/attrs/archive/$pkgver.tar.gz" builddir="$srcdir/attrs-$pkgver" diff --git a/user/py3-pytest/APKBUILD b/user/py3-pytest/APKBUILD index 30a26fb30..8d720971e 100644 --- a/user/py3-pytest/APKBUILD +++ b/user/py3-pytest/APKBUILD @@ -3,13 +3,13 @@ pkgname=py3-pytest _pkgname=pytest pkgver=3.5.1 -pkgrel=0 +pkgrel=1 pkgdesc="A python test library" url="https://pypi.python.org/pypi/pytest" arch="noarch" options="net !check" # Circular dependency with py3-tox. Passes on x86_64 license="MIT" -depends="python3 py3-py" +depends="python3 py3-py py3-more-itertools py3-six py3-pluggy py3-attrs" makedepends="python3-dev" #checkdepends="py3-tox" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" diff --git a/user/py3-six/APKBUILD b/user/py3-six/APKBUILD index 7c001b2a9..3b5c00d34 100644 --- a/user/py3-six/APKBUILD +++ b/user/py3-six/APKBUILD @@ -7,10 +7,11 @@ pkgrel=1 pkgdesc="Python 2 compatibility library" url="https://pypi.python.org/pypi/six" arch="noarch" +options="!check" # Circular dependency with py3-pytest license="MIT" depends="" makedepends="python3-dev" -checkdepends="py3-pluggy py3-pytest" +#checkdepends="py3-pluggy py3-pytest" source="$pkgname-$pkgver.tar.gz::https://github.com/benjaminp/$_pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" -- cgit v1.2.3-70-g09d2