update to 1.4.5, remove python2 FLAVOR, migrate to python3 by default.

(nothing depends on this port anyway)
ok sthen@ kmos@
This commit is contained in:
landry 2020-02-25 10:02:55 +00:00
parent 7eb08432f9
commit 1a5a948369
3 changed files with 9 additions and 9 deletions

View File

@ -1,11 +1,10 @@
# $OpenBSD: Makefile,v 1.6 2019/07/12 20:46:55 sthen Exp $
# $OpenBSD: Makefile,v 1.7 2020/02/25 10:02:55 landry Exp $
COMMENT = client library and CLI for Planet's public API
#'
MODPY_EGG_VERSION = 1.2.2
MODPY_EGG_VERSION = 1.4.5
DISTNAME = planet-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 0
CATEGORIES = geo
@ -18,7 +17,7 @@ MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR ?=
FLAVOR = python3
# tests not bundled; test infrastructure left here for manual fetches
#NO_TEST = Yes
@ -31,7 +30,6 @@ TEST_DEPENDS = devel/py-mock${MODPY_FLAVOR} \
www/py-requests-mock${MODPY_FLAVOR}
post-install:
mv ${PREFIX}/bin/planet ${PREFIX}/bin/planet${MODPY_BIN_SUFFIX}
rm ${PREFIX}/LICENSE
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (planet-1.2.2.tar.gz) = Rrftjhd9E07H+GP1Pcai9d+0a3OQreszPOyhLXPnR64=
SIZE (planet-1.2.2.tar.gz) = 34590
SHA256 (planet-1.4.5.tar.gz) = qlnhTuzXH0pgas3AWyDCTKSZHoQHTY4qAZ1DODHCL+4=
SIZE (planet-1.4.5.tar.gz) = 39155

View File

@ -1,5 +1,7 @@
@comment $OpenBSD: PLIST,v 1.2 2017/09/21 21:00:33 sebastia Exp $
bin/planet${MODPY_BIN_SUFFIX}
@comment $OpenBSD: PLIST,v 1.3 2020/02/25 10:02:55 landry Exp $
@conflict py-planet-*
@pkgpath geo/py-planet
bin/planet
lib/python${MODPY_VERSION}/site-packages/planet/
lib/python${MODPY_VERSION}/site-packages/planet-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/planet-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO