diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-12 10:35:07 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-12 10:35:07 +0000 |
commit | 20b49018c40a8128596be4450639bb4252be6e15 (patch) | |
tree | ad628ac854a36c5979d83df0be7aaffbfde6339d /user/py3-olefile | |
parent | 60669ea0bb74adb5892714a8580e984eb446fb53 (diff) | |
download | packages-20b49018c40a8128596be4450639bb4252be6e15.tar.gz packages-20b49018c40a8128596be4450639bb4252be6e15.tar.bz2 packages-20b49018c40a8128596be4450639bb4252be6e15.tar.xz packages-20b49018c40a8128596be4450639bb4252be6e15.zip |
user/*: Modernise / fix syntax / deps / metadata
Diffstat (limited to 'user/py3-olefile')
-rw-r--r-- | user/py3-olefile/APKBUILD | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/user/py3-olefile/APKBUILD b/user/py3-olefile/APKBUILD index c44ee5842..a890d231f 100644 --- a/user/py3-olefile/APKBUILD +++ b/user/py3-olefile/APKBUILD @@ -11,21 +11,19 @@ arch="noarch" license="BSD-2-Clause AND Custom" depends="python3" makedepends="python3-dev unzip" +subpackages="" source="$pkgname-$pkgver.zip::https://files.pythonhosted.org/packages/source/o/$_pkgname/$_pkgname-$pkgver.zip" builddir="$srcdir/$_pkgname-$pkgver" build() { - cd "$builddir" python3 setup.py build } check() { - cd "$builddir" PYTHONPATH="build/lib" python3 tests/test_olefile.py } package() { - cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" } |