graphics/py-lerc: Update to 4.0.1

- Change MASTER_SITES from GitHub to PYPI
- Use USES=dos2unix to convert CRLF to LF
This commit is contained in:
Po-Chuan Hsieh 2023-05-27 12:09:14 +08:00
parent f03f2910fb
commit 2f89bf8720
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
2 changed files with 9 additions and 13 deletions

View file

@ -1,7 +1,7 @@
PORTNAME= lerc PORTNAME= lerc
PORTVERSION= 4.0.0 PORTVERSION= 4.0.1
DISTVERSIONPREFIX= v
CATEGORIES= graphics python CATEGORIES= graphics python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org MAINTAINER= sunpoet@FreeBSD.org
@ -10,21 +10,17 @@ WWW= https://esri.github.io/lerc/ \
https://github.com/Esri/lerc/tree/master/OtherLanguages/Python https://github.com/Esri/lerc/tree/master/OtherLanguages/Python
LICENSE= APACHE20 LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/../../LICENSE
LIB_DEPENDS= libLerc.so:graphics/lerc LIB_DEPENDS= libLerc.so:graphics/lerc
USES= python:3.6+ USES= dos2unix python:3.6+
USE_PYTHON= autoplist concurrent distutils USE_PYTHON= autoplist concurrent distutils
WRKSRC_SUBDIR= OtherLanguages/Python post-patch:
@${RM} ${WRKSRC}/lerc/libLerc.so.4
GH_ACCOUNT= Esri
USE_GITHUB= yes
# lib/libLerc.* are not available until configure phase # lib/libLerc.* are not available until configure phase
post-configure: post-configure:
@${MKDIR} ${WRKSRC}/../../bin/FreeBSD/ @${CP} ${LOCALBASE}/lib/libLerc.so.* ${WRKSRC}/lerc/
@${CP} ${LOCALBASE}/lib/libLerc.so.* ${WRKSRC}/../../bin/FreeBSD/
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1660576692 TIMESTAMP = 1684104494
SHA256 (Esri-lerc-v4.0.0_GH0.tar.gz) = 91431c2b16d0e3de6cbaea188603359f87caed08259a645fd5a3805784ee30a0 SHA256 (lerc-4.0.1.tar.gz) = dc4c243db0cd1d5c9df612f69bd75b880679aa0b575b347c491f1ec5bc891e41
SIZE (Esri-lerc-v4.0.0_GH0.tar.gz) = 4710408 SIZE (lerc-4.0.1.tar.gz) = 736469