diff --git a/astro/py-indiweb/Makefile b/astro/py-indiweb/Makefile index ee9d7f7ce77a..fe96705c39ca 100644 --- a/astro/py-indiweb/Makefile +++ b/astro/py-indiweb/Makefile @@ -1,26 +1,25 @@ PORTNAME= indiweb -PORTVERSION= 0.1.7 -PORTREVISION= 1 +PORTVERSION= 0.1.8 CATEGORIES= astro python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= acm@FreeBSD.org COMMENT= Simple web application to manage INDI server WWW= https://github.com/knro/indiwebmanager LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}bottle>=0:www/py-bottle@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent distutils post-patch: ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/indiweb/driver.py .include diff --git a/astro/py-indiweb/distinfo b/astro/py-indiweb/distinfo index 4f5366a1e430..5d822a25b6a1 100644 --- a/astro/py-indiweb/distinfo +++ b/astro/py-indiweb/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1621711052 -SHA256 (indiweb-0.1.7.tar.gz) = cd12917c7b62c16b57f2e130e57fb25071ef79767b85e518e6dcbbcc4a6f2ec3 -SIZE (indiweb-0.1.7.tar.gz) = 368004 +TIMESTAMP = 1735442027 +SHA256 (indiweb-0.1.8.tar.gz) = fcbca408ec32f37908637193007ec49bd9c95d32375dd004bd70bdebc6945ffc +SIZE (indiweb-0.1.8.tar.gz) = 367411 diff --git a/astro/py-indiweb/files/patch-indiweb_driver.py b/astro/py-indiweb/files/patch-indiweb_driver.py index dfb843943021..44b170cce30b 100644 --- a/astro/py-indiweb/files/patch-indiweb_driver.py +++ b/astro/py-indiweb/files/patch-indiweb_driver.py @@ -1,11 +1,11 @@ ---- indiweb/driver.py 2021-09-05 00:47:09.163136000 -0500 -+++ indiweb/driver.py 2021-09-05 00:47:30.642233000 -0500 -@@ -5,7 +5,7 @@ +--- indiweb/driver.py.orig 2021-02-24 15:36:36 UTC ++++ indiweb/driver.py +@@ -5,7 +5,7 @@ import xml.etree.ElementTree as ET import xml.etree.ElementTree as ET # Default INDI data directory --INDI_DATA_DIR = "/usr/share/indi/" -+INDI_DATA_DIR = "%%LOCALBASE%%/share/indi/" +-INDI_DATA_DIR = os.environ.get('INDI_DATA_DIR', "/usr/share/indi/") ++INDI_DATA_DIR = os.environ.get('INDI_DATA_DIR', "%%LOCALBASE%%/share/indi/") class DeviceDriver: