[148664] trunk/dports/sysutils/asciinema
larryv at macports.org
larryv at macports.org
Fri May 13 17:02:31 PDT 2016
Revision: 148664
https://trac.macports.org/changeset/148664
Author: larryv at macports.org
Date: 2016-05-13 17:02:30 -0700 (Fri, 13 May 2016)
Log Message:
-----------
asciinema: Update to 1.2.0
Modified Paths:
--------------
trunk/dports/sysutils/asciinema/Portfile
trunk/dports/sysutils/asciinema/files/pass-flags.patch
trunk/dports/sysutils/asciinema/files/skip-tests.patch
Modified: trunk/dports/sysutils/asciinema/Portfile
===================================================================
--- trunk/dports/sysutils/asciinema/Portfile 2016-05-13 21:56:11 UTC (rev 148663)
+++ trunk/dports/sysutils/asciinema/Portfile 2016-05-14 00:02:30 UTC (rev 148664)
@@ -4,9 +4,8 @@
PortSystem 1.0
PortGroup github 1.0
-github.setup asciinema asciinema d6f7cabcd085e237872f13d0ab5580964cb64fb2
-version 1.1.1
-revision 1
+github.setup asciinema asciinema c382d93fb8105e9e4e4a790d8f70bf702c6c6d4b
+version 1.2.0
categories sysutils
platforms darwin
license GPL-3+
@@ -22,8 +21,8 @@
depends_build port:go
-checksums rmd160 8418b7c12eba9f28d56823f5a813253f06aa7afe \
- sha256 30bcf2577ff33fcc67d577b1370f7722e26f87c743c29d2ee42e00e31b187a2b
+checksums rmd160 00a1d2bd07ed2f8dc4352b5b707a5275cb7f2038 \
+ sha256 7ceffbb45b9fa61522354cf9c5d9e3f8f7d62b7a3522a81d0eb23cba06e191db
worksrcdir src/github.com/${github.author}/${github.project}
post-extract {
Modified: trunk/dports/sysutils/asciinema/files/pass-flags.patch
===================================================================
--- trunk/dports/sysutils/asciinema/files/pass-flags.patch 2016-05-13 21:56:11 UTC (rev 148663)
+++ trunk/dports/sysutils/asciinema/files/pass-flags.patch 2016-05-14 00:02:30 UTC (rev 148664)
@@ -2,12 +2,12 @@
===================================================================
--- Makefile.orig
+++ Makefile
-@@ -15,7 +15,7 @@ DOC_DIR=$(PREFIX)/share/doc/$(NAME)
+@@ -14,7 +14,7 @@ DOC_DIR=$(PREFIX)/share/doc/$(NAME)
all: build
build: test
-- go build -o bin/asciinema -ldflags "-X main.GitCommit $(COMMIT)"
-+ go build -o bin/asciinema -ldflags "-X main.GitCommit $(COMMIT)" $(MP_GOFLAGS)
+- go build -o bin/asciinema
++ go build -o bin/asciinema $(MP_GOFLAGS)
test:
go test ./...
Modified: trunk/dports/sysutils/asciinema/files/skip-tests.patch
===================================================================
--- trunk/dports/sysutils/asciinema/files/skip-tests.patch 2016-05-13 21:56:11 UTC (rev 148663)
+++ trunk/dports/sysutils/asciinema/files/skip-tests.patch 2016-05-14 00:02:30 UTC (rev 148664)
@@ -1,28 +1,28 @@
Skip tests for now, as they fail:
go test ./...
- ? github.com/asciinema/asciinema [no test files]
- ? github.com/asciinema/asciinema/api [no test files]
- ok github.com/asciinema/asciinema/asciicast 0.005s
- ok github.com/asciinema/asciinema/commands 0.007s
- ? github.com/asciinema/asciinema/ptyx [no test files]
+ ? github.com/asciinema/asciinema [no test files]
+ ? github.com/asciinema/asciinema/api [no test files]
+ ok github.com/asciinema/asciinema/asciicast 0.011s
+ ok github.com/asciinema/asciinema/commands 0.011s
+ ? github.com/asciinema/asciinema/ptyx [no test files]
--- FAIL: TestTerminal_Record (0.00s)
- terminal_test.go:33: got error: open /dev/ptmx: operation not permitted
+ terminal_test.go:33: got error: open /dev/ptmx: operation not permitted
FAIL
- FAIL github.com/asciinema/asciinema/terminal 0.005s
- ok github.com/asciinema/asciinema/util 0.006s
+ FAIL github.com/asciinema/asciinema/terminal 0.005s
+ ok github.com/asciinema/asciinema/util 0.007s
make: *** [test] Error 1
Index: Makefile
===================================================================
--- Makefile.orig
+++ Makefile
-@@ -14,7 +14,7 @@ DOC_DIR=$(PREFIX)/share/doc/$(NAME)
+@@ -13,7 +13,7 @@ DOC_DIR=$(PREFIX)/share/doc/$(NAME)
all: build
-build: test
+build:
- go build -o bin/asciinema -ldflags "-X main.GitCommit $(COMMIT)" $(MP_GOFLAGS)
+ go build -o bin/asciinema $(MP_GOFLAGS)
test:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160513/c96ebd1b/attachment.html>
More information about the macports-changes
mailing list