Commit Graph

31 Commits

Author SHA1 Message Date
sthen
4bef8c5762 use MODPY_PYBUILD 2022-11-25 21:11:34 +00:00
sthen
dae9f91e31 bump for MODPY_DEFAULT_VERSION_3 change 2022-11-13 15:28:39 +00:00
naddy
ffa1cebd1b drop RCS Ids 2022-03-11 19:06:11 +00:00
landry
c2b53e2dc6 geo/py-fiona: update to 1.8.21 2022-03-05 09:20:32 +00:00
kmos
bd85d18172 Remove obsolete uses of the TESTLIBDIR construct in favor of
MODPY_TEST_LIBDIR from the lang/python module

Fix tests for geo/py-fiona while here
2022-01-26 22:58:21 +00:00
sthen
5e4370b64d bump REVISION for switch from Python 3.8 -> 3.9 2021-11-02 00:01:12 +00:00
landry
a13f70fd9e geo/py-fiona: update to 1.8.20 2021-07-11 08:10:49 +00:00
landry
9fdc3d2693 geo/py-fiona: update to 1.8.19 2021-04-28 13:17:23 +00:00
landry
17e871ae40 geo/py-fiona: update to 1.8.18, from wen heping, thanks ! 2021-01-18 09:03:39 +00:00
sthen
d80c418015 regen PLISTs for python ports with .so files that end up renamed due to
the EXT_SUFFIX change in Python 3.8.7
2021-01-04 14:06:26 +00:00
sthen
d9cfe4113e bump REVISION; python 3 default changed to 3.8 2020-07-03 21:12:24 +00:00
landry
94b6243219 Update to fiona 1.8.13 2020-03-23 09:42:25 +00:00
landry
f554dacd0e Remove python2 FLAVOR, migrate to python3 by default.
simplifies Makefile & stop renaming the rio binary while here (woo!)

ok sthen@ kmos@
2020-02-25 10:05:40 +00:00
sthen
c75fc58080 register conflict with benchmarks/fio, only for the py2 version without
MODPY_SUFFIX on the script name.

uses ${MODPY_2ONLY} to @comment out in the plist which is used elsewhere
(e.g. py-ldap) which is probably generally useful enough to factor out into
python.port.mk but ENOTIME now.
2020-01-21 10:22:24 +00:00
kmos
704e0c6242 Fix tests for geo/py-fiona.
It uses MODPY_PYTEST and copies the compiled .so files into place in
the source tree to get the tests to run.

While troubleshooting this, found that py-enum34 and py-mock needed to
be added to the python2 RUN_DEPENDS and TEST_DEPENDS respectively.

ok landry
2019-12-05 07:26:47 +00:00
landry
db9ed15e84 Unbreak by updating to fiona 1.8.11.
Sadly it seems tests are broken but i dont remember if it was the case
before..
2019-12-04 13:40:53 +00:00
sthen
3318ced016 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:46:54 +00:00
kmos
c45cd79fc7 Add RUN_DEPENDS to TEST_DEPENDS automatically for ports using the
lang/python port module. I've not yet come up with a port that
would not need this and one can always set MODPY_TESTDEP to "no"
to prevent the module from touching TEST_DEPENDS.

Idea from afresh1 who pointed out the cpan module already does this.

aja "I support this move."

OK sthen@
2019-05-15 12:04:34 +00:00
landry
d17ff899cc Temporarly mark BROKEN, it builds fine with gdal 3 but will break at
runtime as it uses a removed API, per
https://github.com/Toblerity/Fiona/issues/745
2019-05-12 08:09:53 +00:00
sthen
d7f0752227 bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
we expected and it's easier|safer to do it this way than fiddle with
pkg_add now. thanks aja for update tests with a quick bulk.
2019-04-28 20:51:26 +00:00
kn
0796219cc0 Convert devel/py-test consumers to new MODPY_PYTEST
lang/python/python.port.mk revision 1.102 and 1.103 added
MODPY_TEST_LOCALE and MODPY_PYTEST respectively, nicely wrapping up the
usual pytest dance.

This removes hand-rolled do-tests from all 70 ports by setting
MODPY_PYTEST=Yes and MODPY_TEST_LOCALE as well as HOME=${WRKDIR} to TESTENV
as needed.

From Kurt Mosiejczuk <kurt at cranky dot work>, thanks!
OK sthen
2019-03-25 14:29:49 +00:00
landry
6cea8be4b1 Update to fiona 1.8.6 2019-03-20 19:50:37 +00:00
landry
027a15bdac Update to fiona 1.8.4 2019-01-09 09:36:15 +00:00
landry
875cc9fe5c Fix HOMEPAGE, noted by danj@ 2019-01-08 19:07:18 +00:00
landry
b34872ea53 Update to fiona 1.8.1 2018-12-07 08:41:27 +00:00
danj
2f595aa598 Fix tdep on py3-test and regen patch
The Makefile doesn't follow Makefile.template order but Landry (being
de facto maintainer as it's in geo ;)) prefers it stays as it is.

ok landry@
2018-10-16 18:06:22 +00:00
landry
37a346ed73 Update to fiona 1.7.13.
Switch MASTER_SITES from github to pypi while here.
2018-10-16 16:51:08 +00:00
landry
513a8bc718 Really fix build on non-clang archs by passing -std=c++11 to egcc when
building the only .cpp file (generated by cython) that includes
cpl_port.h from GDAL (which requires c++11). clang seems to do the right
thing. *shrug*. dunno if the actual problem is with language detection
in distutils or egcc..

Tested on macppc with ports-gcc & amd64 with base-clang & ports-gcc
2018-10-07 15:30:22 +00:00
landry
cb91fab473 Set COMPILER to unbreak on non-clang archs, needed since the gdal 2.3
update. Probably more to come..
2018-05-20 07:18:15 +00:00
espie
df1da998a1 remove traces of utf8 encoding in pkg/DESCR
bump accordingly
2018-02-27 21:47:38 +00:00
landry
e6bbf8f428 Import py-fiona 1.7.11.pl1.
Fiona is OGR’s neat, nimble, no-nonsense API for Python programmers.

Fiona is designed to be simple and dependable. It focuses on reading and
writing data in standard Python IO style and relies upon familiar Python types
and protocols such as files, dictionaries, mappings, and iterators instead of
classes specific to OGR. Fiona can read and write real-world data using
multi-layered GIS formats and zipped virtual file systems and integrates
readily with other Python GIS packages such as pyproj, Rtree, and Shapely.

ok sthen@
2018-02-25 13:37:29 +00:00