Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2019 20:05:45 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r519630 - in head/devel: . gocheese gocheese/files
Message-ID:  <201912092005.xB9K5jSl050144@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Mon Dec  9 20:05:45 2019
New Revision: 519630
URL: https://svnweb.freebsd.org/changeset/ports/519630

Log:
  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/

Added:
  head/devel/gocheese/
  head/devel/gocheese/Makefile   (contents, props changed)
  head/devel/gocheese/distinfo   (contents, props changed)
  head/devel/gocheese/files/
  head/devel/gocheese/files/patch-Makefile   (contents, props changed)
  head/devel/gocheese/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile   (contents, props changed)

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Dec  9 19:12:15 2019	(r519629)
+++ head/devel/Makefile	Mon Dec  9 20:05:45 2019	(r519630)
@@ -864,6 +864,7 @@
     SUBDIR += go-tools
     SUBDIR += gob2
     SUBDIR += gobject-introspection
+    SUBDIR += gocheese
     SUBDIR += godep
     SUBDIR += godot
     SUBDIR += godot-tools

Added: head/devel/gocheese/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/gocheese/Makefile	Mon Dec  9 20:05:45 2019	(r519630)
@@ -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>

Added: head/devel/gocheese/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/gocheese/distinfo	Mon Dec  9 20:05:45 2019	(r519630)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1575915859
+SHA256 (gocheese-2.2.0.tar.xz) = 5aa24da6c03c51bd5c45cd50aa1f19b56360c8923ed86f06d0f2b8fa4c8ccb5b
+SIZE (gocheese-2.2.0.tar.xz) = 102964

Added: head/devel/gocheese/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/gocheese/files/patch-Makefile	Mon Dec  9 20:05:45 2019	(r519630)
@@ -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
+ 

Added: head/devel/gocheese/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/gocheese/pkg-descr	Mon Dec  9 20:05:45 2019	(r519630)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912092005.xB9K5jSl050144>