From owner-svn-ports-all@freebsd.org Mon Dec 9 20:05:46 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8F5E01DE0D7; Mon, 9 Dec 2019 20:05:46 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47WvMG308fz41bV; Mon, 9 Dec 2019 20:05:46 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5D48B1FB9D; Mon, 9 Dec 2019 20:05:46 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xB9K5kPl050153; Mon, 9 Dec 2019 20:05:46 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xB9K5jSl050144; Mon, 9 Dec 2019 20:05:45 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201912092005.xB9K5jSl050144@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Mon, 9 Dec 2019 20:05:45 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/devel: . gocheese gocheese/files X-SVN-Commit-Revision: 519630 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Dec 2019 20:05:46 -0000 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 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/