pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/pkgtools/url2pkg



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sat Apr 22 13:21:58 UTC 2023

Modified Files:
        pkgsrc/pkgtools/url2pkg: Makefile
        pkgsrc/pkgtools/url2pkg/files: url2pkg.py

Log Message:
url2pkg: update to 23.1.0

Changes since 22.4.0:

Be more user-friendly when being passed a URL without version number.


To generate a diff of this commit:
cvs rdiff -u -r1.130 -r1.131 pkgsrc/pkgtools/url2pkg/Makefile
cvs rdiff -u -r1.46 -r1.47 pkgsrc/pkgtools/url2pkg/files/url2pkg.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/url2pkg/Makefile
diff -u pkgsrc/pkgtools/url2pkg/Makefile:1.130 pkgsrc/pkgtools/url2pkg/Makefile:1.131
--- pkgsrc/pkgtools/url2pkg/Makefile:1.130      Sun Jan 22 18:58:45 2023
+++ pkgsrc/pkgtools/url2pkg/Makefile    Sat Apr 22 13:21:58 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.130 2023/01/22 18:58:45 rillig Exp $
+# $NetBSD: Makefile,v 1.131 2023/04/22 13:21:58 rillig Exp $
 
-PKGNAME=       url2pkg-22.4.0
+PKGNAME=       url2pkg-23.1.0
 CATEGORIES=    pkgtools
 
 MAINTAINER=    rillig%NetBSD.org@localhost

Index: pkgsrc/pkgtools/url2pkg/files/url2pkg.py
diff -u pkgsrc/pkgtools/url2pkg/files/url2pkg.py:1.46 pkgsrc/pkgtools/url2pkg/files/url2pkg.py:1.47
--- pkgsrc/pkgtools/url2pkg/files/url2pkg.py:1.46       Sun Jan 22 18:58:45 2023
+++ pkgsrc/pkgtools/url2pkg/files/url2pkg.py    Sat Apr 22 13:21:58 2023
@@ -1,5 +1,5 @@
 #! @PYTHONBIN@
-# $NetBSD: url2pkg.py,v 1.46 2023/01/22 18:58:45 rillig Exp $
+# $NetBSD: url2pkg.py,v 1.47 2023/04/22 13:21:58 rillig Exp $
 
 # Copyright (c) 2019 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1276,7 +1276,7 @@ def main(argv: List[str], g: Globals):
 
         if dir == '':
             sys.exit(f'url2pkg: cannot determine package directory '
-                     f'from distname \'{vars.distname}\'')
+                     f'from distname \'{vars.distname}\'; it must contain a version number')
         if Path(dir).exists():
             sys.exit(f'url2pkg: package directory \'{dir}\' already exists')
         os.mkdir(dir)



Home | Main Index | Thread Index | Old Index