Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2023 04:27:43 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2f89bf8720e2 - main - graphics/py-lerc: Update to 4.0.1
Message-ID:  <202305270427.34R4Rhef026134@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2f89bf8720e2b82b32420be6a590cd77a05a0024

commit 2f89bf8720e2b82b32420be6a590cd77a05a0024
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-27 04:09:14 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-27 04:09:14 +0000

    graphics/py-lerc: Update to 4.0.1
    
    - Change MASTER_SITES from GitHub to PYPI
    - Use USES=dos2unix to convert CRLF to LF
---
 graphics/py-lerc/Makefile | 16 ++++++----------
 graphics/py-lerc/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 13 deletions(-)

diff --git a/graphics/py-lerc/Makefile b/graphics/py-lerc/Makefile
index 20a8c933bb47..12425e110993 100644
--- a/graphics/py-lerc/Makefile
+++ b/graphics/py-lerc/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	lerc
-PORTVERSION=	4.0.0
-DISTVERSIONPREFIX=	v
+PORTVERSION=	4.0.1
 CATEGORIES=	graphics python
+MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -10,21 +10,17 @@ WWW=		https://esri.github.io/lerc/ \
 		https://github.com/Esri/lerc/tree/master/OtherLanguages/Python
 
 LICENSE=	APACHE20
-LICENSE_FILE=	${WRKSRC}/../../LICENSE
 
 LIB_DEPENDS=	libLerc.so:graphics/lerc
 
-USES=		python:3.6+
+USES=		dos2unix python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
 
-WRKSRC_SUBDIR=	OtherLanguages/Python
-
-GH_ACCOUNT=	Esri
-USE_GITHUB=	yes
+post-patch:
+	@${RM} ${WRKSRC}/lerc/libLerc.so.4
 
 # lib/libLerc.* are not available until configure phase
 post-configure:
-	@${MKDIR} ${WRKSRC}/../../bin/FreeBSD/
-	@${CP} ${LOCALBASE}/lib/libLerc.so.* ${WRKSRC}/../../bin/FreeBSD/
+	@${CP} ${LOCALBASE}/lib/libLerc.so.* ${WRKSRC}/lerc/
 
 .include <bsd.port.mk>
diff --git a/graphics/py-lerc/distinfo b/graphics/py-lerc/distinfo
index dccfa1bda1e1..369e05263a5b 100644
--- a/graphics/py-lerc/distinfo
+++ b/graphics/py-lerc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1660576692
-SHA256 (Esri-lerc-v4.0.0_GH0.tar.gz) = 91431c2b16d0e3de6cbaea188603359f87caed08259a645fd5a3805784ee30a0
-SIZE (Esri-lerc-v4.0.0_GH0.tar.gz) = 4710408
+TIMESTAMP = 1684104494
+SHA256 (lerc-4.0.1.tar.gz) = dc4c243db0cd1d5c9df612f69bd75b880679aa0b575b347c491f1ec5bc891e41
+SIZE (lerc-4.0.1.tar.gz) = 736469



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305270427.34R4Rhef026134>