pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/revbump



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Jun 10 14:35:29 UTC 2023

Modified Files:
        pkgsrc/pkgtools/revbump: Makefile
        pkgsrc/pkgtools/revbump/files: revbump.py revbump.py.1

Log Message:
revbump: support bumping go packages

Bump version.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 pkgsrc/pkgtools/revbump/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/pkgtools/revbump/files/revbump.py
cvs rdiff -u -r1.1 -r1.2 pkgsrc/pkgtools/revbump/files/revbump.py.1

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

Modified files:

Index: pkgsrc/pkgtools/revbump/Makefile
diff -u pkgsrc/pkgtools/revbump/Makefile:1.52 pkgsrc/pkgtools/revbump/Makefile:1.53
--- pkgsrc/pkgtools/revbump/Makefile:1.52       Tue Jun  6 10:57:28 2023
+++ pkgsrc/pkgtools/revbump/Makefile    Sat Jun 10 14:35:29 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.52 2023/06/06 10:57:28 wiz Exp $
+# $NetBSD: Makefile,v 1.53 2023/06/10 14:35:29 wiz Exp $
 
-PKGNAME=               revbump-3.2
+PKGNAME=               revbump-3.3
 CATEGORIES=            pkgtools
 
 MAINTAINER=            wiz%NetBSD.org@localhost

Index: pkgsrc/pkgtools/revbump/files/revbump.py
diff -u pkgsrc/pkgtools/revbump/files/revbump.py:1.2 pkgsrc/pkgtools/revbump/files/revbump.py:1.3
--- pkgsrc/pkgtools/revbump/files/revbump.py:1.2        Wed May 31 14:04:40 2023
+++ pkgsrc/pkgtools/revbump/files/revbump.py    Sat Jun 10 14:35:29 2023
@@ -1,6 +1,6 @@
 #!/usr/bin/env python3
 #
-# $NetBSD: revbump.py,v 1.2 2023/05/31 14:04:40 wiz Exp $
+# $NetBSD: revbump.py,v 1.3 2023/06/10 14:35:29 wiz Exp $
 #
 # Copyright (c) 2023 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -190,11 +190,14 @@ if not pathlib.Path(args.pkgsrcdir).exis
     print(f'invalid pkgsrc directory "{args.pkgsrcdir}"')
     sys.exit(1)
 
-initial_bl3 = args.package.rstrip('/') + '/buildlink3.mk'
-if not pathlib.Path(args.pkgsrcdir + '/' + initial_bl3).exists():
-    print(f'package {args.package} provides no buildlink3.mk file')
-    sys.exit(1)
-searchlist = [initial_bl3]
+if args.package == 'lang/go':
+    searchlist = ['lang/go/version.mk']
+else:
+    initial_bl3 = args.package.rstrip('/') + '/buildlink3.mk'
+    if not pathlib.Path(args.pkgsrcdir + '/' + initial_bl3).exists():
+        print(f'package {args.package} provides no buildlink3.mk file')
+        sys.exit(1)
+    searchlist = [initial_bl3]
 
 bl3files = glob.glob(args.pkgsrcdir + '/*/*/buildlink3.mk')
 bl3files.append(args.pkgsrcdir + '/lang/ocaml/ocaml.mk')

Index: pkgsrc/pkgtools/revbump/files/revbump.py.1
diff -u pkgsrc/pkgtools/revbump/files/revbump.py.1:1.1 pkgsrc/pkgtools/revbump/files/revbump.py.1:1.2
--- pkgsrc/pkgtools/revbump/files/revbump.py.1:1.1      Fri May 26 06:47:54 2023
+++ pkgsrc/pkgtools/revbump/files/revbump.py.1  Sat Jun 10 14:35:29 2023
@@ -1,4 +1,4 @@
-.\"    $NetBSD: revbump.py.1,v 1.1 2023/05/26 06:47:54 wiz Exp $
+.\"    $NetBSD: revbump.py.1,v 1.2 2023/06/10 14:35:29 wiz Exp $
 .\"
 .\" Copyright (c) 2023 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd May 26, 2023
+.Dd June 10, 2023
 .Dt REVBUMP.PY 1
 .Os
 .Sh NAME
@@ -82,6 +82,10 @@ Also bump packages in the
 .Pa wip/
 subtree.
 .El
+.Pp
+For bumping all go packages, use
+.Ar lang/go
+as argument.
 .Sh EXAMPLES
 .Dl revbump.py devel/glib2
 .Pp



Home | Main Index | Thread Index | Old Index