Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#41334 closed submission (fixed)

py-pyshp @1.2.0: new port submission

Reported by: petrrr Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mojca (Mojca Miklavec)
Port: py-pyshp

Description

Here a new port (see below for details), I will need it as dependency for py-cartopy. Please commit!

It is quite simple so review should be immediate. On the website I find the following: "Pyshp is compatible with Python 2.4-3.x." So I included 2.4 & 2.5 as well, but given the fact that even Python 2.6 is now unmaintained, it might be better to limit new port to Python >= 2.6. Is there any policy defined on this?

py-pyshp @1.2.0 (python, gis)
Replaced by:          py24-pyshp
Sub-ports:            py24-pyshp, py25-pyshp, py26-pyshp, py27-pyshp, py31-pyshp, py32-pyshp, py33-pyshp, py34-pyshp

Description:          PyShp library provides read and write support for the ESRI shapefile format in pure Python. This
                      format is a popular Geographic Information System vector data format created by ESRI. You can
                      read and write shp, shx, and dbf files with all types of geometry. Everything in the public ESRI
                      shapefile specification is implemented.
Homepage:             http://code.google.com/p/pyshp/

Library Dependencies: py24-pyshp
Platforms:            darwin
License:              MIT
Maintainers:          Peter.Danecek@bo.ingv.it, openmaintainer@macports.org

Attachments (2)

Portfile (1.4 KB) - added by petrrr 11 years ago.
Portfile for python/py-pyshp
Portfile.2 (1.6 KB) - added by mojca (Mojca Miklavec) 11 years ago.
minor changes for py-pyshp

Download all attachments as: .zip

Change History (13)

Changed 11 years ago by petrrr

Attachment: Portfile added

Portfile for python/py-pyshp

comment:1 Changed 11 years ago by petrrr

update: some Python versions removed

comment:2 Changed 11 years ago by petrrr

Cc: Peter.Danecek@… added

Cc Me!

comment:3 Changed 11 years ago by petrrr

Cc: Peter.Danecek@… removed

Cc Me!

Changed 11 years ago by mojca (Mojca Miklavec)

Attachment: Portfile.2 added

minor changes for py-pyshp

comment:4 Changed 11 years ago by mojca (Mojca Miklavec)

I made some minor changes, but I'm unable to install it due to another error:

Error: org.macports.activate for port py34-setuptools returned: Image error: /opt/local/Library/Frameworks/Python.framework/Versions/3.4/bin/easy_install-3.4 is being used by the active python34 port.  Please deactivate this port first, or use 'port -f activate py34-setuptools' to force the activation.
Warning: targets not executed for py34-setuptools: org.macports.activate
Error: Failed to install py34-setuptools
Please see the log file for port py34-setuptools for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-setuptools/py34-setuptools/main.log
Error: The following dependencies were not installed: py34-setuptools
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port py34-pyshp failed

comment:5 Changed 11 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added

Cc Me!

comment:6 Changed 11 years ago by petrrr

Hi, I was looking at your changes now, which are fine. But I realised the is one more change which should be do. The URL to PyPi should be changed https instead of http. This is a minor issue but it avoids a redirect. Do you want me to upload a modified Portfile?

comment:7 Changed 11 years ago by mojca (Mojca Miklavec)

No need to upload a new file. But before committing the file the issue #41591 needs to be fixed. The other option is that I include just support for version 2.7 now (enough to support the other port) and the rest when the bug gets fixed. What do you think?

comment:8 Changed 11 years ago by petrrr

Well, I added py34 subport mainly to for the future and because it is documented as being supported. But we can wait some time until py34-setuptools gets fixes. I guess, it is quite fundamental so it should not take too long.

comment:9 Changed 11 years ago by mojca (Mojca Miklavec)

Resolution: fixed
Status: newclosed

r114093.

Please remind me to add Python 3.4 when the problem gets fixed in case I forget.

comment:10 in reply to:  9 Changed 11 years ago by petrrr

Replying to mojca@…:

r114093.

Please remind me to add Python 3.4 when the problem gets fixed in case I forget.

I think the problem with Python 3.4 (py-setuptools conflict) is now resolve. I do not insist, but in case you want to add Python 3.4, this would be the requested reminder.

comment:11 Changed 11 years ago by mojca (Mojca Miklavec)

Done, r114468.

Note: See TracTickets for help on using tickets.