Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
alpine
aports
Commits
c91bfcff
Commit
c91bfcff
authored
Nov 24, 2016
by
Carlo Landmeter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing/py-openzwave: move ozw config and add web subpkg
parent
04f721ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
testing/py-openzwave/APKBUILD
testing/py-openzwave/APKBUILD
+12
-2
No files found.
testing/py-openzwave/APKBUILD
View file @
c91bfcff
...
...
@@ -3,7 +3,7 @@
_name
=
"python-openzwave"
pkgname
=
${
_name
/python/py
}
pkgver
=
0.3.1
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"Python wrapper for openzwave"
url
=
"http://www.openzwave.com/"
arch
=
"all"
...
...
@@ -11,7 +11,7 @@ license="GPL"
depends
=
"python3"
makedepends
=
"python3-dev linux-headers eudev-dev coreutils"
install
=
""
subpackages
=
"
$pkgname
-api::noarch
$pkgname
-manager::noarch"
subpackages
=
"
$pkgname
-api::noarch
$pkgname
-manager::noarch
$pkgname
-web::noarch
"
source
=
"https://github.com/OpenZWave/python-openzwave/raw/master/archives/
${
_name
}
-
${
pkgver
}
.tgz"
builddir
=
"
$srcdir
/python-openzwave-
$pkgver
"
...
...
@@ -29,6 +29,8 @@ package() {
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
}
api
()
{
...
...
@@ -47,6 +49,14 @@ manager() {
--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"
sha512sums
=
"b00059754493adf755b5a83aa3c42a77d9ef116fc9d8ba87026edb6e838480f3a9a7aebb02ff2c3c1cf4d909e95fcfa19410a173a2460693712d0981d9a5bd47 python-openzwave-0.3.1.tgz"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment