pkgsrc/x11/py-Pmw2/Makefile
rillig 84f2203288 all: migrate some SourceForge homepage URLs back from https to http
https://mail-index.netbsd.org/pkgsrc-changes/2020/01/18/msg205146.html

In the above commit, the homepage URLs were migrated from http to https,
assuming that SourceForge would use the same host names for both http and
https connections. This assumption was wrong. Their documentation at
https://sourceforge.net/p/forge/documentation/Custom%20VHOSTs/ states
that the https URLs use the domain sourceforge.io instead.

To make the homepages from the above commit reachable again, pkglint has
been extended to check for reachable homepages. This check is only
enabled when the --network command line option is given.

Each of the homepages that referred to https://$project.sourceforge.net
before was migrated to https://$project.sourceforge.io (27), and if that
was not reachable, to the fallback URL http://$project.sourceforge.net
(163).
2020-01-26 05:26:08 +00:00

29 lines
797 B
Makefile

# $NetBSD: Makefile,v 1.7 2020/01/26 05:26:27 rillig Exp $
DISTNAME= Pmw_2_0_0-rc1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/:S/_/./g:S/-rc/rc/}
EGG_NAME= Pmw-2.0.0
CATEGORIES= x11 python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pmw/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pmw.sourceforge.net/
COMMENT= Python meta widgets (python-3.x version)
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk
DEPENDS+= blt>=2.4i:../../x11/blt
WRKSRC= ${WRKDIR}/Pmw2
USE_LANGUAGES= # empty
REPLACE_PYTHON= Pmw/Pmw_2_0_0/bin/bundlepmw.py
REPLACE_PYTHON+= Pmw/Pmw_2_0_0/demos/All.py
REPLACE_PYTHON+= Pmw/Pmw_2_0_0/tests/All.py
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"