Remove python2 FLAVOR, migrate to python3 by default.
ok martin@ (MAINTAINER) sthen@ kmos@
This commit is contained in:
parent
d2a9b44d96
commit
9402239039
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2020/01/07 08:27:50 martin Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2020/02/25 10:01:17 landry Exp $
|
||||
|
||||
COMMENT = geospatial raster data API and CLI
|
||||
|
||||
MODPY_EGG_VERSION = 1.1.2
|
||||
DISTNAME = rasterio-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-${DISTNAME}
|
||||
REVISION = 0
|
||||
|
||||
CATEGORIES = geo
|
||||
|
||||
@ -18,7 +19,7 @@ PERMIT_PACKAGE = Yes
|
||||
MODULES = lang/python
|
||||
|
||||
FLAVORS = python3
|
||||
FLAVOR ?=
|
||||
FLAVOR = python3
|
||||
|
||||
COMPILER = base-clang ports-gcc
|
||||
|
||||
@ -38,10 +39,6 @@ RUN_DEPENDS = geo/py-cligj${MODPY_FLAVOR}>=0.5 \
|
||||
math/py-snuggs${MODPY_FLAVOR} \
|
||||
math/py-affine${MODPY_FLAVOR}
|
||||
|
||||
.if !${FLAVOR:Mpython3}
|
||||
RUN_DEPENDS += devel/py-enum34
|
||||
.endif
|
||||
|
||||
# test_read_no_band requires hdf5 support in GDAL
|
||||
# requires datafiles only on github...
|
||||
NO_TEST = Yes
|
||||
@ -50,7 +47,4 @@ TEST_DEPENDS = devel/py-test${MODPY_FLAVOR} \
|
||||
devel/py-hypothesis${MODPY_FLAVOR} \
|
||||
devel/py-mock${MODPY_FLAVOR}
|
||||
|
||||
post-install:
|
||||
mv ${PREFIX}/bin/rio{,${MODPY_BIN_SUFFIX}}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,7 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2020/01/07 08:27:50 martin Exp $
|
||||
bin/rio${MODPY_BIN_SUFFIX}
|
||||
@comment $OpenBSD: PLIST,v 1.4 2020/02/25 10:01:17 landry Exp $
|
||||
@conflict py-rasterio-*
|
||||
@pkgpath geo/py-rasterio
|
||||
bin/rio
|
||||
lib/python${MODPY_VERSION}/site-packages/rasterio/
|
||||
lib/python${MODPY_VERSION}/site-packages/rasterio-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/rasterio-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
|
||||
|
Loading…
x
Reference in New Issue
Block a user