pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-weewx: adapt for latest poetry-core and depend on it
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Sat Feb 1 21:31:46 2025 +0100
Changeset: 25b74b3a6b2118f3dd450edcf5d0a004b405d382
Modified Files:
py-weewx/Makefile
py-weewx/PLIST
Log Message:
py-weewx: adapt for latest poetry-core and depend on it
rename binary to have a ${PYVERSSUFFIX}
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=25b74b3a6b2118f3dd450edcf5d0a004b405d382
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-weewx/Makefile | 10 ++++++----
py-weewx/PLIST | 6 ++----
2 files changed, 8 insertions(+), 8 deletions(-)
diffs:
diff --git a/py-weewx/Makefile b/py-weewx/Makefile
index 6a568a2069..26220092c5 100644
--- a/py-weewx/Makefile
+++ b/py-weewx/Makefile
@@ -16,7 +16,8 @@ USE_LANGUAGES=
# weewx uses sqlite3
.include "../../lang/python/batteries-included.mk"
-TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry>=0.12:../../devel/py-poetry
+TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=2:../../devel/py-poetry-core
+TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry>=0.12:../../devel/py-poetry
# pyproject.toml, in order:
DEPENDS+= ${PYPKGPREFIX}-configobj>=5.0:../../devel/py-configobj
@@ -36,15 +37,16 @@ CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/weewx_data/util/logwatch/scripts/services/
DOCDIR= ${PREFIX}/share/doc/weewx
INSTALLATION_DIRS= ${DOCDIR}
-post-install:
- ${MV} ${DESTDIR}/${PREFIX}/${PYSITELIB}/LICENSE.txt ${DESTDIR}${DOCDIR}
- ${MV} ${DESTDIR}/${PREFIX}/${PYSITELIB}/README.md ${DESTDIR}${DOCDIR}
# \todo Grasp and perhaps deal with config file generation/update.
# \todo Consider how to manage edits to skins, which are sort of code
# and sort of config files.
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && ${MV} weectl weectl-${PYVERSSUFFIX} || ${TRUE}
+ cd ${DESTDIR}${PREFIX}/bin && ${MV} weewxd weewxd-${PYVERSSUFFIX} || ${TRUE}
+
.include "../../lang/python/application.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/py-weewx/PLIST b/py-weewx/PLIST
index 32643c7b92..1943398d08 100644
--- a/py-weewx/PLIST
+++ b/py-weewx/PLIST
@@ -1,6 +1,6 @@
@comment $NetBSD$
-bin/weectl
-bin/weewxd
+bin/weectl-${PYVERSSUFFIX}
+bin/weewxd-${PYVERSSUFFIX}
${PYSITELIB}/schemas/__init__.py
${PYSITELIB}/schemas/__init__.pyc
${PYSITELIB}/schemas/__init__.pyo
@@ -476,5 +476,3 @@ ${PYSITELIB}/weewx_data/weewx.conf
${PYSITELIB}/weewxd.py
${PYSITELIB}/weewxd.pyc
${PYSITELIB}/weewxd.pyo
-share/doc/weewx/LICENSE.txt
-share/doc/weewx/README.md
Home |
Main Index |
Thread Index |
Old Index