summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorggilestro2019-10-13 16:31:17 +0100
committerggilestro2019-10-13 16:31:17 +0100
commita9f1d8de29e1b0b0e1fc11a262509e4f3e249c9d (patch)
treede9027644a88bb8163df72262739ee86f8e40878
parent1fa9d9f56c446aef5b9efa523d3b0cab9a6fd4ce (diff)
downloadaur-a9f1d8de29e1b0b0e1fc11a262509e4f3e249c9d.tar.gz
Changed the python installation to develop and moved to the install script from the PKGBUILD (develop takes no root option)
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
-rw-r--r--ethoscope-node.install2
3 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 91c7d57b0308..390b5f153c76 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ethoscope-node
pkgdesc = A platform for monitoring animal behaviour in real time from a raspberry pi
pkgver = r1704.g6d72a77
- pkgrel = 2
+ pkgrel = 3
url = http://lab.gilest.ro/ethoscope
install = ethoscope-node.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 63cf2592d6d2..d4cfe59f10e0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=ethoscope-node
pkgver=r1704.g6d72a77
-pkgrel=2
+pkgrel=3
pkgdesc="A platform for monitoring animal behaviour in real time from a raspberry pi"
arch=('any')
url="http://lab.gilest.ro/ethoscope"
@@ -39,9 +39,9 @@ package() {
ln -s /opt/ethoscope-node/scripts/ethoscope_updater "${pkgdir}/opt/"
#install python service
- cd "${srcdir}/${pkgname}/node_src"
+ #cd "${srcdir}/${pkgname}/node_src"
#pip install -e . --install-option="--prefix=${pkgdir}" --no-deps
- python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+ #python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
#install service files
cd "${srcdir}"/"${pkgname}"/scripts/
diff --git a/ethoscope-node.install b/ethoscope-node.install
index f1d0c75f85c6..76edcbf5cf52 100644
--- a/ethoscope-node.install
+++ b/ethoscope-node.install
@@ -14,7 +14,7 @@ post_install() {
#installing python module
cd /opt/ethoscope-node/node_src/
- python setup.py install
+ python setup.py develop
echo "enabling NODE specific systemd service files"
systemctl enable ethoscope_node.service ethoscope_update_node.service ethoscope_backup.service ethoscope_video_backup.service