mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 10:56:27 -04:00
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/
This commit is contained in:
parent
b3de49c53e
commit
9486b96f8c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=519630
5 changed files with 53 additions and 0 deletions
|
@ -864,6 +864,7 @@
|
|||
SUBDIR += go-tools
|
||||
SUBDIR += gob2
|
||||
SUBDIR += gobject-introspection
|
||||
SUBDIR += gocheese
|
||||
SUBDIR += godep
|
||||
SUBDIR += godot
|
||||
SUBDIR += godot-tools
|
||||
|
|
28
devel/gocheese/Makefile
Normal file
28
devel/gocheese/Makefile
Normal file
|
@ -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>
|
3
devel/gocheese/distinfo
Normal file
3
devel/gocheese/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1575915859
|
||||
SHA256 (gocheese-2.2.0.tar.xz) = 5aa24da6c03c51bd5c45cd50aa1f19b56360c8923ed86f06d0f2b8fa4c8ccb5b
|
||||
SIZE (gocheese-2.2.0.tar.xz) = 102964
|
11
devel/gocheese/files/patch-Makefile
Normal file
11
devel/gocheese/files/patch-Makefile
Normal file
|
@ -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
|
||||
|
10
devel/gocheese/pkg-descr
Normal file
10
devel/gocheese/pkg-descr
Normal file
|
@ -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/
|
Loading…
Add table
Reference in a new issue