[Pkg-golang-commits] [SCM] Packaging for Google Go branch, debian-sid, updated. debian/2%1.0.2-1-2-ge9a2f20

Ondřej Surý ondrej at sury.org
Thu Jun 14 13:46:52 UTC 2012


The following commit has been merged in the debian-sid branch:
commit e9a2f2013f8fe5da1fd15cae5cab33d9c0c0ea66
Author: Ondřej Surý <ondrej at sury.org>
Date:   Thu Jun 14 15:48:03 2012 +0200

    Kill get-orig-source, since 1.0.0, the tarballs can be downloaded from webpage

diff --git a/debian/rules b/debian/rules
index acf458d..4e1f7ad 100755
--- a/debian/rules
+++ b/debian/rules
@@ -132,22 +132,4 @@ endif
 
 export GOROOT GOROOT_FINAL GOOS GOARCH GOARM GOBIN GOHOSTARCH GOHOSTOS
 
-REPO = https://go.googlecode.com/hg/
-GOLANG_ORIG_DIR = $(CURDIR)/../go
-REV = release
-get-orig-source:
-	-set -e; \
-	if [ ! -d $(GOLANG_ORIG_DIR) ]; then \
-		hg clone -r"$(REV)" "$(REPO)" "$(GOLANG_ORIG_DIR)"; \
-	fi
-	cd "$(GOLANG_ORIG_DIR)"; \
-	hg pull; \
-	hg update "$(REV)"; \
-	VERSION=$$(cat VERSION | perl -e '<> =~ /go([\d.]+)/; print "$$1"'); \
-	hg archive -tfiles -r"$(REV)" -X'.hg*' -X'doc/talks/go_talk-20091030.pdf' "$(CURDIR)/../$(PACKAGE)-$$VERSION/"; \
-	cd ..; \
-	tar -czf "$(CURDIR)/../$(PACKAGE)_$$VERSION.orig.tar.gz" "$(PACKAGE)-$$VERSION/"; \
-	rm -rf "$(CURDIR)/../$(PACKAGE)-$$VERSION/"; \
-	echo "Now run git-import-orig $(CURDIR)/../$(PACKAGE)_$$VERSION.orig.tar.gz"
-
 .PHONY: build clean install binary-arch binary-indep binary

-- 
Packaging for Google Go



More information about the Pkg-golang-commits mailing list