diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-02-29 06:13:39 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-29 06:23:47 -0300 |
commit | 60efe787954008af546a5bde839db09f11682102 (patch) | |
tree | 25bec857632a812d95a8446584077b3a4bdd3206 /main | |
parent | da743693eda54b9faf5086746b91506495fc689f (diff) | |
download | aports-60efe787954008af546a5bde839db09f11682102.tar.bz2 aports-60efe787954008af546a5bde839db09f11682102.tar.xz |
main/py3-appdirs: build with distutils instead of setuptools
So we can avoid a dependency cycle since py3-appdirs is a dependency of
setuptools.
Diffstat (limited to 'main')
-rw-r--r-- | main/py3-appdirs/APKBUILD | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/main/py3-appdirs/APKBUILD b/main/py3-appdirs/APKBUILD index 75edb5c36f..bfde737a75 100644 --- a/main/py3-appdirs/APKBUILD +++ b/main/py3-appdirs/APKBUILD @@ -3,13 +3,12 @@ pkgname=py3-appdirs _pkgname=${pkgname#py3-} pkgver=1.4.3 -pkgrel=1 +pkgrel=2 pkgdesc="A small Python module for determining appropriate platform-specific dirs." url="https://pypi.org/project/appdirs/" arch="noarch" license="MIT" depends="python3" -makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver @@ -18,10 +17,9 @@ build() { } check() { - python3 setup.py test + PYTHONPATH="$PWD" python3 test/test_api.py } - package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } |