git: 0f1e7823c424 - main - devel/osc: update 0.179.0 → 0.180.0

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Wed, 29 Jun 2022 21:44:00 UTC
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0f1e7823c4246d1c8781c6d78bf188fe2d89701a

commit 0f1e7823c4246d1c8781c6d78bf188fe2d89701a
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-06-29 21:41:49 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-06-29 21:43:32 +0000

    devel/osc: update 0.179.0 → 0.180.0
---
 devel/osc/Makefile                             |  4 ++--
 devel/osc/distinfo                             |  6 +++---
 devel/osc/files/patch-osc_util_git__version.py | 18 ++++++++++++++++++
 3 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/devel/osc/Makefile b/devel/osc/Makefile
index 6f2e2769570e..86a7c9ca545d 100644
--- a/devel/osc/Makefile
+++ b/devel/osc/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	osc
-PORTVERSION=	0.179.0
+PORTVERSION=	0.180.0
 CATEGORIES=	devel
 
 MAINTAINER=	amdmi3@FreeBSD.org
@@ -42,7 +42,7 @@ post-install:
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS README NEWS TODO \
+	cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS README.md NEWS TODO \
 		${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>
diff --git a/devel/osc/distinfo b/devel/osc/distinfo
index efc0cb0d4691..49c90d599cdd 100644
--- a/devel/osc/distinfo
+++ b/devel/osc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1654257081
-SHA256 (openSUSE-osc-0.179.0_GH0.tar.gz) = 543a9e1a4f2dc722a5228b41a8da92867a35fa52f9701dc213108fa9b35085e8
-SIZE (openSUSE-osc-0.179.0_GH0.tar.gz) = 368868
+TIMESTAMP = 1656527884
+SHA256 (openSUSE-osc-0.180.0_GH0.tar.gz) = a96b943f0110add33f0a30ac0a2f51a96c2af94d18f8327014f479307b10a774
+SIZE (openSUSE-osc-0.180.0_GH0.tar.gz) = 370165
diff --git a/devel/osc/files/patch-osc_util_git__version.py b/devel/osc/files/patch-osc_util_git__version.py
new file mode 100644
index 000000000000..01dd3ea8fa6c
--- /dev/null
+++ b/devel/osc/files/patch-osc_util_git__version.py
@@ -0,0 +1,18 @@
+--- osc/util/git_version.py.orig	2022-06-24 13:23:26 UTC
++++ osc/util/git_version.py
+@@ -3,6 +3,7 @@ import subprocess
+ 
+ 
+ def get_git_archive_version():
++    return None
+     """
+     Return version that is set by git during `git archive`.
+     The returned format is equal to what `git describe --tags` returns.
+@@ -17,6 +18,7 @@ def get_git_archive_version():
+ 
+ 
+ def get_git_version():
++    return None
+     """
+     Determine version from git repo by calling `git describe --tags`.
+     """