2019-10-06 07:53:00 by Roland Illig | Files touched by this commit (2) |
Log message:
pkgtools/url2pkg: fix version tag detection
|
2019-10-06 00:02:32 by Roland Illig | Files touched by this commit (5) | |
Log message:
pkgtools/url2pkg: update to 19.3.2
Changes since 19.3.1 (only to the Python implementation):
* In Python packages, the variables LICENSE, HOMEPAGE and COMMENT are
filled from their counterparts in setup.py, no matter whether
the package uses setuptools or distutils.core.
* For buildlink3 dependencies, the variables BUILDLINK_DEPENDS and
BUILDLINK_API_DEPENDS are added to the package Makefile.
* The DESCR and PLIST files are only created if they are missing.
Existing files are not overwritten.
* Packages that contain .po files will set USE_PKGLOCALEDIR=yes.
Before, only packages that contained .mo or .gmo did that.
* More download URLs from SourceForge can be handled.
* SourceForge packages get their HOMEPAGE set correctly.
* When matching the URL against the MASTER_SITE_* variables, the
protocol is ignored. This allows https URLs to use the
MASTER_SITE_GNU, which still uses http.
* Python packages from GitHub only get their MASTER_SITES converted to
PyPI if they can be actually downloaded from there as well. This
check was missing before.
|
2019-10-05 23:05:50 by Roland Illig | Files touched by this commit (2) |
Log message:
pkgtools/url2pkg: clean up path handling
|
2019-10-05 21:59:04 by Roland Illig | Files touched by this commit (2) |
Log message:
pkgtools/url2pkg: clean up code
|
2019-10-05 21:24:35 by Roland Illig | Files touched by this commit (3) |
Log message:
pkgtools/url2pkg: add test for main function
|
2019-10-05 20:00:09 by Roland Illig | Files touched by this commit (2) |
Log message:
pkgtools/url2pkg: fixed migration of Python packages from GitHub to PyPI
|
2019-10-05 14:22:51 by Roland Illig | Files touched by this commit (2) |
Log message:
pkgtools/url2pkg: ignore URL protocol
The MASTER_SITE_GNU still uses http:// for downloading the distfiles.
Since typical URLs today use https://, ignore the protocol when matching
the given URL against the MASTER_SITE_* variables from mk/fetch/sites.mk.
|
2019-10-05 13:02:30 by Roland Illig | Files touched by this commit (2) |
Log message:
pkgtools/url2pkg: improve URL handling for SourceForge
* Improved handling of SourceForge URLs
* Fixed wrong HOMEPAGE for URLs composed from MASTER_SITE_*
* Improved the existing tests and added some more
|
2019-10-05 00:26:34 by Roland Illig | Files touched by this commit (2) |
Log message:
pkgtools/url2pkg: reorganize the Python implementation
The previous version of the code was largely work in progress. Now the code
has been grouped and sorted. A few bugs have been fixed on the way:
* If a PKGNAME had been added in the interactive editor session, it had
been overwritten before. This was because of a typo.
* The whole code has been grouped into classes, to clearly show the
dependencies between the parts.
* Generation of the initial Makefile has been split into smaller methods,
to make them individually testable and to reduce the scope of the local
variables.
* When creating a package in a directory pkgsrc/local/*, "local" is not
used as the primary category of the package.
* GNU configure and other configure scripts are also detected if they are
not placed directly in WRKSRC.
* Packages that contain *.po files will have USE_PKGLOCALEDIR=yes in the
package Makefile. Previously, only *.mo or *.gmo files triggered this
variable.
* When PKGNAME is based on DISTNAME, it is only written to the package
Makefile if there is an actual prefix or transformation.
|
2019-10-04 01:02:59 by Roland Illig | Files touched by this commit (2) |
Log message:
pkgtools/url2pkg: keep DESCR and PLIST, fix GConf detection
The files DESCR and PLIST are no longer overwritten. They are only
created if they don't exist.
The GConf schemas detection had written the include line too often, once
for every schema file.
|