Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Dec 2015 09:11:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 205619] databases/pyspatialite: Unbreak and make fetchable again
Message-ID:  <bug-205619-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205619

            Bug ID: 205619
           Summary: databases/pyspatialite: Unbreak and make fetchable
                    again
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: rhurlin@gwdg.de
                CC: coder@tuxfamily.org
                CC: coder@tuxfamily.org
             Flags: maintainer-feedback?(coder@tuxfamily.org)

Created attachment 164658
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=164658&action=edit
patch for 3.0.1-alpha-0 to unbreak and make fetchable

For some days now, databases/spatialite is marked BROKEN, because it is not
able to fetch the distfile any more. 


Looking for the reason, I found, that there is a small variation between, what
Mk/bsd.sites.mk wants and what the original website[1] has.

With the definition of the MASTERSITE from Mk/bsd.sites.mk via CHEESESHOP, the
port wants to fetch from here:

fetch
https://pypi.python.org/packages/source/p/pyspatialite-3.0.1-alpha/pyspatialite-3.0.1-alpha-0.tar.gz

The sources have a slightly different path (without '-3.0.1-alpha'):
https://pypi.python.org/packages/source/p/pyspatialite/pyspatialite-3.0.1-alpha-0.tar.gz

The problem seems to be, that CHEESESHOP uses DISTNAME also for building the
path, and DISTNAME is not needed in the first part, only something like
PORTNAME. The latest change to Mk/bsd.sites.mk[2] seems to be relevant:

CHEESESHOP:source/${DISTNAME:C/(.).*/\1/}/${DISTNAME:C/(.*)-[0-9].*/\1/}


Because I don't know and do not have the skills to check, if CHEESEPORT can be
corrected in a more general way, I made a patch only for databases/pyspatialite
and only for 'https://' to get it fetching again.


[1] https://pypi.python.org/pypi/pyspatialite/3.0.1-alpha-0
[2] http://svnweb.freebsd.org/changeset/ports/400105

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205619-13>