diff options
author | Steve Wills <swills@FreeBSD.org> | 2019-12-09 20:05:45 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2019-12-09 20:05:45 +0000 |
commit | 9486b96f8cbfcb7cb7c54b4e30116dbbbd04186c (patch) | |
tree | ef3a05d92a441229f2349a48863a83435454214b | |
parent | - Update to 2.9.7. This release fixes CVE-2016-6318. Excerpt from NEWS: (diff) |
devel/gocheese: create port
GoCheese is Python private package repository and caching proxy.
It serves two purposes:
* proxying and caching of missing packages from upstream PyPI, conforming to
PEP-0503 (Simple Repository API)
* hosting of private locally uploaded packages, conforming to Warehouse Legacy
API
WWW: http://gocheese.cypherpunks.ru/
Notes
Notes:
svn path=/head/; revision=519630
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/gocheese/Makefile | 28 | ||||
-rw-r--r-- | devel/gocheese/distinfo | 3 | ||||
-rw-r--r-- | devel/gocheese/files/patch-Makefile | 11 | ||||
-rw-r--r-- | devel/gocheese/pkg-descr | 10 |
5 files changed, 53 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 95bdc61a5f3e..47a1d5d59ece 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -864,6 +864,7 @@ SUBDIR += go-tools SUBDIR += gob2 SUBDIR += gobject-introspection + SUBDIR += gocheese SUBDIR += godep SUBDIR += godot SUBDIR += godot-tools diff --git a/devel/gocheese/Makefile b/devel/gocheese/Makefile new file mode 100644 index 000000000000..f0f65628e7ed --- /dev/null +++ b/devel/gocheese/Makefile @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= gocheese +PORTVERSION= 2.2.0 +CATEGORIES= devel python +MASTER_SITES= http://gocheese.cypherpunks.ru/ + +MAINTAINER= swills@FreeBSD.org +COMMENT= Python private package repository and caching proxy + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= go:no_targets tar:xz + +INFO= ${PORTNAME} +PLIST_FILES= ${DOCSDIR}/README \ + bin/${PORTNAME} \ + bin/pyshop2packages.sh + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_SCRIPT} ${WRKSRC}/pyshop2packages.sh ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.info ${STAGEDIR}${PREFIX}/${INFO_PATH} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/devel/gocheese/distinfo b/devel/gocheese/distinfo new file mode 100644 index 000000000000..25c4538decd7 --- /dev/null +++ b/devel/gocheese/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1575915859 +SHA256 (gocheese-2.2.0.tar.xz) = 5aa24da6c03c51bd5c45cd50aa1f19b56360c8923ed86f06d0f2b8fa4c8ccb5b +SIZE (gocheese-2.2.0.tar.xz) = 102964 diff --git a/devel/gocheese/files/patch-Makefile b/devel/gocheese/files/patch-Makefile new file mode 100644 index 000000000000..1373c45f9b15 --- /dev/null +++ b/devel/gocheese/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2019-12-09 18:44:34 UTC ++++ Makefile +@@ -5,7 +5,7 @@ GOPATH != pwd + VERSION != cat VERSION + + MOD = go.cypherpunks.ru/gocheese/v2 +-LDFLAGS = -X main.Version=$(VERSION) ++LDFLAGS = -s -X main.Version=$(VERSION) + + all: gocheese gocheese.info + diff --git a/devel/gocheese/pkg-descr b/devel/gocheese/pkg-descr new file mode 100644 index 000000000000..7c52ad4c43dd --- /dev/null +++ b/devel/gocheese/pkg-descr @@ -0,0 +1,10 @@ +GoCheese is Python private package repository and caching proxy. + +It serves two purposes: + +* proxying and caching of missing packages from upstream PyPI, conforming to + PEP-0503 (Simple Repository API) +* hosting of private locally uploaded packages, conforming to Warehouse Legacy + API + +WWW: http://gocheese.cypherpunks.ru/ |