aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2021-11-02 18:26:49 +0000
committerThierry Thomas <thierry@FreeBSD.org>2021-11-02 18:29:43 +0000
commite1cf4bbfac41efd88dc34757e4c4964e04a5772d (patch)
tree087eb0046defd22300b5f545a0ec75c384abf65b
parentd14cd9c06ced39bca1dcb0297564747d8b0104cc (diff)
downloadports-e1cf4bbfac41efd88dc34757e4c4964e04a5772d.tar.gz
ports-e1cf4bbfac41efd88dc34757e4c4964e04a5772d.zip
astro/kosmorro: upgrade to 0.10.4
- Switch to pypi.org; - Release notes at <https://github.com/Kosmorro/kosmorro/releases/tag/v0.10.4>.
-rw-r--r--astro/kosmorro/Makefile15
-rw-r--r--astro/kosmorro/distinfo6
2 files changed, 9 insertions, 12 deletions
diff --git a/astro/kosmorro/Makefile b/astro/kosmorro/Makefile
index 09aa8eb59d06..ce5da7369c21 100644
--- a/astro/kosmorro/Makefile
+++ b/astro/kosmorro/Makefile
@@ -1,9 +1,9 @@
# Created by: thierry@pompo.net
PORTNAME= kosmorro
-PORTVERSION= 0.10.2
-DISTVERSIONPREFIX= v
+PORTVERSION= 0.10.4
CATEGORIES= astro python
+MASTER_SITES= CHEESESHOP
MAINTAINER= thierry@FreeBSD.org
COMMENT= Ephemerides computation
@@ -13,14 +13,13 @@ LICENSE= AGPLv3
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tabulate>0:devel/py-tabulate@${PY_FLAVOR}\
${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR}\
${PYTHON_PKGNAMEPREFIX}termcolor>0:devel/py-termcolor@${PY_FLAVOR}\
- ${PYTHON_PKGNAMEPREFIX}kosmorrolib>0:astro/py-kosmorrolib@${PY_FLAVOR} \
- ronn:textproc/rubygem-ronn
+ ${PYTHON_PKGNAMEPREFIX}kosmorrolib>0:astro/py-kosmorrolib@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tabulate>0:devel/py-tabulate@${PY_FLAVOR}\
${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR}\
${PYTHON_PKGNAMEPREFIX}termcolor>0:devel/py-termcolor@${PY_FLAVOR}\
${PYTHON_PKGNAMEPREFIX}kosmorrolib>0:astro/py-kosmorrolib@${PY_FLAVOR}
-USE_GITHUB= yes
+#USE_GITHUB= yes
USES= python:3.7+ shebangfix
USE_PYTHON= distutils noflavors
@@ -33,9 +32,7 @@ PDF_RUN_DEPENDS=pdflatex:print/tex-formats
NO_ARCH= yes
-pre-configure:
- ${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|' ${WRKSRC}/Makefile
-post-build:
- (cd ${WRKSRC} && LC_ALL=C.UTF-8 ${MAKE} manpages)
+post-install:
+ ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/_kosmorro/locales -name "*.mo" -delete
.include <bsd.port.mk>
diff --git a/astro/kosmorro/distinfo b/astro/kosmorro/distinfo
index 593e34e7c217..086c19da63b4 100644
--- a/astro/kosmorro/distinfo
+++ b/astro/kosmorro/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1634230932
-SHA256 (kosmorro-kosmorro-v0.10.2_GH0.tar.gz) = 580ec60d7a5c904f28b02c5e9a531650ba33d44cfd164b84d31d9d0fab241bb0
-SIZE (kosmorro-kosmorro-v0.10.2_GH0.tar.gz) = 534226
+TIMESTAMP = 1635876907
+SHA256 (kosmorro-0.10.4.tar.gz) = 42c99909c15107ce9e62d8d194064296553e21610f093b100c4f4c958e2a5894
+SIZE (kosmorro-0.10.4.tar.gz) = 503578