summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2025-02-23 11:48:21 +0000
committerMatthew Seaman <matthew@FreeBSD.org>2025-02-23 11:57:38 +0000
commit34fa166bc43e23659f1a298707cf9d62bc5bada8 (patch)
tree7bff3815375e24b96d369060e0953bfcf82bd978
parent*/*dj50*: Deprecate/Set to expire (diff)
devel/py-python-gilt: Move to devel/gilt and update to 2.2.4
The upstream project changed languages from python to go. While there is still a PYPI entry for this software (https://pypi.org/project/python-gilt/), all it consists of is a pip-package containing the compiled `gilt` binary and the usual pip dist-info data. Since we're building a FreeBSD package here, we don't need any of the pip metadata, and we can just install this as a standard go module port. Changes: https://github.com/retr0h/gilt/releases
-rw-r--r--MOVED1
-rw-r--r--devel/Makefile2
-rw-r--r--devel/gilt/Makefile18
-rw-r--r--devel/gilt/distinfo5
-rw-r--r--devel/gilt/pkg-descr4
-rw-r--r--devel/py-python-gilt/Makefile48
-rw-r--r--devel/py-python-gilt/distinfo3
-rw-r--r--devel/py-python-gilt/pkg-descr2
8 files changed, 29 insertions, 54 deletions
diff --git a/MOVED b/MOVED
index 33d262d86fc0..0bddcf544c0d 100644
--- a/MOVED
+++ b/MOVED
@@ -4161,3 +4161,4 @@ graphics/libkipi||2025-02-22|Discontinued upstream
deskutils/knotes||2025-02-22|Discontinued upstream
net-im/kopete||2025-02-22|Discontinued upstream
sysutils/shim||2025-02-22|Has expired: upstream has been inactive for 10 years and does not build with GCC 14
+devel/py-python-gilt|devel/gilt|2025-02-23|Project switched language from python to go
diff --git a/devel/Makefile b/devel/Makefile
index 6d9496c75bac..23c02196beed 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -833,6 +833,7 @@
SUBDIR += ghq
SUBDIR += ghub
SUBDIR += ghub-devel
+ SUBDIR += gilt
SUBDIR += gindent
SUBDIR += gio-sharp
SUBDIR += git
@@ -5746,7 +5747,6 @@
SUBDIR += py-python-editor
SUBDIR += py-python-engineio
SUBDIR += py-python-gflags
- SUBDIR += py-python-gilt
SUBDIR += py-python-gist
SUBDIR += py-python-gitlab
SUBDIR += py-python-jenkins
diff --git a/devel/gilt/Makefile b/devel/gilt/Makefile
new file mode 100644
index 000000000000..539986f6d997
--- /dev/null
+++ b/devel/gilt/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= gilt
+DISTVERSIONPREFIX= v
+DISTVERSION= 2.2.4
+CATEGORIES= devel python
+
+MAINTAINER= matthew@FreeBSD.org
+COMMENT= GIT layering tool
+WWW= https://retr0h.github.io/gilt/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go:1.23,modules
+GO_MODULE= github.com/retr0h/gilt/v2
+
+PLIST_FILES= bin/gilt
+
+.include <bsd.port.mk>
diff --git a/devel/gilt/distinfo b/devel/gilt/distinfo
new file mode 100644
index 000000000000..d2ad698bbfc7
--- /dev/null
+++ b/devel/gilt/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1740310835
+SHA256 (go/devel_gilt/gilt-v2.2.4/v2.2.4.mod) = 30efb7de5b501f30e42bb905036577d0023ed4aed1d2a54b46f575a01a2675d6
+SIZE (go/devel_gilt/gilt-v2.2.4/v2.2.4.mod) = 1896
+SHA256 (go/devel_gilt/gilt-v2.2.4/v2.2.4.zip) = c3a6382efb818e5926b666b30c4bfffbda105322b194f9ec76679b6a82415ef5
+SIZE (go/devel_gilt/gilt-v2.2.4/v2.2.4.zip) = 754514
diff --git a/devel/gilt/pkg-descr b/devel/gilt/pkg-descr
new file mode 100644
index 000000000000..33c575965e97
--- /dev/null
+++ b/devel/gilt/pkg-descr
@@ -0,0 +1,4 @@
+Gilt is a tool which aims to make repo management, manageable. Gilt
+clones repositories at a particular version, then overlays the
+repository to the provided destination. An alternate approach to
+"vendoring".
diff --git a/devel/py-python-gilt/Makefile b/devel/py-python-gilt/Makefile
deleted file mode 100644
index 82a5ca13c034..000000000000
--- a/devel/py-python-gilt/Makefile
+++ /dev/null
@@ -1,48 +0,0 @@
-PORTNAME= python-gilt
-PORTVERSION= 1.2.2
-PORTREVISION= 1
-CATEGORIES= devel python
-MASTER_SITES= PYPI
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-
-MAINTAINER= matthew@FreeBSD.org
-COMMENT= GIT layering tool
-WWW= https://pypi.org/project/python-gilt/
-
-LICENSE= MIT
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>0:devel/py-pbr@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}colorama>0:devel/py-colorama@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}fasteners>0:devel/py-fasteners@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}git-url-parse>0:devel/py-git-url-parse@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pbr>0:devel/py-pbr@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}sh>0:devel/py-sh@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}flake8>0:devel/py-flake8@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest-helpers-namespace>0:devel/py-pytest-helpers-namespace@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}yapf>=0.16.3:textproc/py-yapf@${PY_FLAVOR} \
- git:devel/git
-
-USES= python
-USE_PYTHON= autoplist concurrent distutils
-
-NO_ARCH= yes
-
-# All tests pass except one:
-#
-# test/test_shell.py F [ 76%]
-#
-# And then the test program errors out with 'INTERNALERROR'
-
-TEST_ENV= TMPDIR=${WRKDIR}
-
-do-test:
- @cd ${WRKSRC} && \
- ${SETENV} ${TEST_ENV} ${LOCALBASE}/bin/py.test-${PYTHON_VER} -vv --runslow --cov-report=term-missing --cov=${WRKSRC}/gilt/ --no-cov-on-fail test
-
-.include <bsd.port.mk>
diff --git a/devel/py-python-gilt/distinfo b/devel/py-python-gilt/distinfo
deleted file mode 100644
index c51a5c657a55..000000000000
--- a/devel/py-python-gilt/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1584275605
-SHA256 (python-gilt-1.2.2.tar.gz) = 812daf3ca98d92764f3116f2b5a6874b07adaacec361614bd2fcecef5f2f94f0
-SIZE (python-gilt-1.2.2.tar.gz) = 445545
diff --git a/devel/py-python-gilt/pkg-descr b/devel/py-python-gilt/pkg-descr
deleted file mode 100644
index 0f9338a45ed4..000000000000
--- a/devel/py-python-gilt/pkg-descr
+++ /dev/null
@@ -1,2 +0,0 @@
-Overlay remote repositories and/or files into the destinations
-provided.