devel/please: Update version 16.0.0=>17.12.7

Thanks to Pat for the pointers and help in updating this.

Changelog: https://github.com/thought-machine/please/releases/tag/v17.12.7

PR:		276791
Reported by:	yonas.yanfa@gmail.com
This commit is contained in:
Muhammad Moinur Rahman 2024-12-23 05:58:01 +01:00
parent ea9ce4d4e4
commit c39f73b922
No known key found for this signature in database
GPG key ID: BDB9B5A617C0BC91
5 changed files with 10 additions and 37 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= please
DISTVERSIONPREFIX= v
DISTVERSION= 16.0.0
DISTVERSION= 17.12.7
CATEGORIES= devel
MASTER_SITES= https://raw.githubusercontent.com/thought-machine/please/${DISTVERSIONFULL}/
DISTFILES= go.mod
@ -21,16 +21,12 @@ BUILD_DEPENDS= bash:shells/bash \
git:devel/git \
protoc:devel/protobuf
USES= go:modules
USES= go:1.23,modules
GO_MODULE= github.com/thought-machine/please
GO_TARGET= src/please.go:please \
tools/build_langserver/langserver_main.go:build_langserver \
tools/http_cache/main.go:http_cache \
tools/jarcat/main.go:jarcat \
tools/please_go_embed/main.go:please_go_embed \
tools/please_go_filter/please_go_filter.go:please_go_filter \
tools/please_go/please_go.go:please_go \
tools/please_pex/pex_main.go:please_pex \
tools/please_shim/main.go:please_shim \
tools/release_signer/main.go:release_signer
USE_GITHUB= yes
GH_ACCOUNT= thought-machine
@ -39,7 +35,7 @@ post-extract:
${REINPLACE_CMD} -e 's|99.0.9999|${DISTVERSION}|' ${WRKSRC}/src/core/version.go
post-build:
cd ${WRKSRC} ; ${SETENV} ${CC} ${CFLAGS} -o please_sandbox tools/sandbox/main.c tools/sandbox/sandbox.c
cd ${WRKSRC} ; ${SETENV} ${CC} ${CFLAGS} -I${WRKSRC} -o please_sandbox tools/sandbox/main.c tools/sandbox/sandbox.c
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/please_sandbox ${STAGEDIR}${PREFIX}/bin

View file

@ -1,5 +1,5 @@
TIMESTAMP = 1734925708
SHA256 (go/devel_please/thought-machine-please-v16.0.0_GH0/go.mod) = 2cd52d3b0f03b668d7934b1a17b3a22730e2da3e0478f4146a882f4e4cf7296c
SIZE (go/devel_please/thought-machine-please-v16.0.0_GH0/go.mod) = 2486
SHA256 (go/devel_please/thought-machine-please-v16.0.0_GH0/thought-machine-please-v16.0.0_GH0.tar.gz) = e9f5b962770ba4373316c5fd1f9a95ce2b53e79dc1a8bc9a6a02c00226891c76
SIZE (go/devel_please/thought-machine-please-v16.0.0_GH0/thought-machine-please-v16.0.0_GH0.tar.gz) = 1798117
TIMESTAMP = 1734928038
SHA256 (go/devel_please/thought-machine-please-v17.12.7_GH0/go.mod) = 75cf810abecff9863a5e41f61e2ef64f3063637f9bc0d3396157798db3aba690
SIZE (go/devel_please/thought-machine-please-v17.12.7_GH0/go.mod) = 5424
SHA256 (go/devel_please/thought-machine-please-v17.12.7_GH0/thought-machine-please-v17.12.7_GH0.tar.gz) = c6690539ade3b0272ee7c95a33b311b888880b275e5504190d17db047374e8c1
SIZE (go/devel_please/thought-machine-please-v17.12.7_GH0/thought-machine-please-v17.12.7_GH0.tar.gz) = 2069252

View file

@ -1,11 +0,0 @@
--- tools/sandbox/main.c.orig 2024-12-23 04:03:39 UTC
+++ tools/sandbox/main.c
@@ -7,7 +7,7 @@
// support namespaces / cgroups. We still behave similarly otherwise
// in order for it to be transparent to the rest of the system.
#include <stdio.h>
-#include "tools/sandbox/sandbox.h"
+#include "sandbox.h"
int main(int argc, char* argv[]) {
if (argc < 2) {

View file

@ -1,8 +0,0 @@
--- tools/sandbox/sandbox.c.orig 2024-12-23 04:06:56 UTC
+++ tools/sandbox/sandbox.c
@@ -1,4 +1,4 @@
-#include "tools/sandbox/sandbox.h"
+#include "sandbox.h"
#define _GNU_SOURCE
#include <stdio.h>

View file

@ -1,10 +1,6 @@
bin/build_langserver
bin/http_cache
bin/jarcat
bin/please
bin/please_go
bin/please_go_embed
bin/please_go_filter
bin/please_pex
bin/please_sandbox
bin/please_shim
bin/release_signer