diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-11-25 15:01:46 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-11-25 15:01:46 +0100 |
commit | 5877b066ce9da5e75e75a027f20ca8c5f78e7916 (patch) | |
tree | 94b75eea11ba2de6790dddfbef9785baf6fce8c2 | |
parent | 2ac4e82a1e840351a9e202952fcdb96bdf1219e6 (diff) | |
download | aports-5877b066ce9da5e75e75a027f20ca8c5f78e7916.tar.bz2 aports-5877b066ce9da5e75e75a027f20ca8c5f78e7916.tar.xz |
testing/py3-openzwave: renamed and add missing deps
-rw-r--r-- | testing/py3-openzwave/APKBUILD (renamed from testing/py-openzwave/APKBUILD) | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/testing/py-openzwave/APKBUILD b/testing/py3-openzwave/APKBUILD index 6096d05ec1..315d69f289 100644 --- a/testing/py-openzwave/APKBUILD +++ b/testing/py3-openzwave/APKBUILD @@ -1,17 +1,17 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: -_name="python-openzwave" -pkgname=${_name/python/py} +_name=python-openzwave +pkgname=py3-openzwave pkgver=0.3.1 -pkgrel=1 +pkgrel=0 pkgdesc="Python wrapper for openzwave" url="http://www.openzwave.com/" arch="all" license="GPL" -depends="python3" +depends=" $pkgname-lib $pkgname-api $pkgname-manager" makedepends="python3-dev linux-headers eudev-dev coreutils" install="" -subpackages="$pkgname-api::noarch $pkgname-manager::noarch $pkgname-web::noarch" +subpackages="$pkgname-lib $pkgname-api::noarch $pkgname-manager::noarch" source="https://github.com/OpenZWave/python-openzwave/raw/master/archives/${_name}-${pkgver}.tgz" builddir="$srcdir/python-openzwave-$pkgver" @@ -26,36 +26,36 @@ build() { } package() { + mkdir -p "$pkgdir" +} + +lib() { + pkgdesc="$pkgdesc (lib)" + depends="python3 py3-six" cd "$builddir" python3 setup-lib.py install \ - --single-version-externally-managed --root ${pkgdir} - mkdir -p "$pkgdir"/usr/share/$pkgname - mv $pkgdir/usr/config "$pkgdir"/usr/share/$pkgname + --single-version-externally-managed --root ${subpkgdir} + mkdir -p "$subpkgdir"/usr/share/"$pkgname" + mv "$subpkgdir"/usr/config "$subpkgdir"/usr/share/"$pkgname" } + api() { pkgdesc="$pkgdesc (api)" - depends="python3" + depends="python3 py3-dispatcher" cd "$builddir" python3 setup-api.py install \ - --single-version-externally-managed --root ${subpkgdir} + --single-version-externally-managed --root "$subpkgdir" } manager() { pkgdesc="$pkgdesc (manager)" - depends="python3" + depends="python3 py3-urwid" cd "$builddir" python3 setup-manager.py install \ - --single-version-externally-managed --root ${subpkgdir} + --single-version-externally-managed --root "$subpkgdir" } -web() { - pkgdesc="$pkgdesc (web)" - depends="python3" - cd "$builddir" - python3 setup-web.py install \ - --single-version-externally-managed --root ${subpkgdir} -} md5sums="86bfab5544b7cfdff4d47136e07133b3 python-openzwave-0.3.1.tgz" sha256sums="829df24774289a8dc8bd6415b57b94dd4f9eb7ec2cb00c49a6c9e4a5068eb0e5 python-openzwave-0.3.1.tgz" |