[SCM] Packaging for Google Go branch, debian-sid, updated. debian/1%60.2-1-21-gaf42388

Ondřej Surý ondrej at sury.org
Fri Apr 6 14:34:25 UTC 2012


The following commit has been merged in the debian-sid branch:
commit 70d543b8b72c19641b2ff7d137eb1fdfc6c017d2
Author: Ondřej Surý <ondrej at sury.org>
Date:   Fri Apr 6 16:05:31 2012 +0200

    Get rid of control magic

diff --git a/debian/control.extra b/debian/control.extra
deleted file mode 100644
index 4cda88c..0000000
--- a/debian/control.extra
+++ /dev/null
@@ -1,24 +0,0 @@
-Package: golang-mode
-Architecture: all
-Depends: ${misc:Depends}, emacs23 | emacsen
-Suggests: golang-go
-Description: Go mode for GNU Emacs
- Provides a major mode for GNU Emacs to edit programs written in Google's
- Go programming language.
-
-Package: kate-syntax-go
-Architecture: all
-Depends: ${misc:Depends}, kate
-Suggests: golang-go
-Description: Syntax files to highlight Go in the Kate editor
- Provides a syntax highlighting for the Kate editor to edit programs
- written in Google's Go programming language.
-
-Package: vim-syntax-go
-Architecture: all
-Depends: ${misc:Depends}, vim
-Recommends: vim-addon-manager
-Suggests: golang-go
-Description: Syntax files to highlight Go in the Vim editor
- Provides a syntax highlighting for the Vim editor to edit programs
- written in Google's Go programming language.
diff --git a/debian/control.in b/debian/control.in
deleted file mode 100644
index 589fad3..0000000
--- a/debian/control.in
+++ /dev/null
@@ -1,116 +0,0 @@
-Source: golang#P#
-Section: devel
-Priority: optional
-Maintainer: Ondřej Surý <ondrej at debian.org>
-Vcs-Browser: http://git.debian.org/?p=pkg-google/golang.git
-Vcs-Git: git://git.debian.org/pkg-google/golang.git
-Build-Depends: debhelper (>= 7.4.10), bison, ed, mawk | awk, perl
-Build-Depends-Indep: po-debconf
-Standards-Version: 3.9.3
-Homepage: http://golang.org/
-
-Package: golang#P#-go
-Architecture: i386 amd64 kfreebsd-i386 kfreebsd-amd64 armel armhf
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}
-Replaces: golang#P#-tools
-Conflicts: golang#C#-go, golang#C#-tools, golang#P#-tools
-Provides: go-compiler, golang#C#-go, golang#P#-tools
-Description: Go programming language compiler
- The Go programming language is an open source project to make
- programmers more productive. Go is expressive, concise, clean, and
- efficient. Its concurrency mechanisms make it easy to write programs
- that get the most out of multicore and networked machines, while its
- novel type system enables flexible and modular program construction.
- Go compiles quickly to machine code yet has the convenience of
- garbage collection and the power of run-time reflection. It's a
- fast, statically typed, compiled language that feels like a
- dynamically typed, interpreted language.
- .
- This package provides an assembler, a compiler, and a linker for the
- Go programming language. This is Google's implementation of the Go
- tool chain.
-
-Package: golang#P#-src
-Conflicts: golang#C#-src
-Provides: golang#C#-src
-Architecture: i386 amd64 kfreebsd-i386 kfreebsd-amd64 armel armhf
-Depends: ${shlibs:Depends}, ${misc:Depends}, golang#P#-go
-Description: Go programming language compiler - source files
- The Go programming language is an open source project to make
- programmers more productive. Go is expressive, concise, clean, and
- efficient. Its concurrency mechanisms make it easy to write programs
- that get the most out of multicore and networked machines, while its
- novel type system enables flexible and modular program construction.
- Go compiles quickly to machine code yet has the convenience of
- garbage collection and the power of run-time reflection. It's a
- fast, statically typed, compiled language that feels like a
- dynamically typed, interpreted language.
- .
- This package provides the Go programming language source files needed
- for godoc and goinstall.
-
-Package: golang#P#-doc
-Conflicts: golang#C#-doc
-Provides: golang#C#-doc
-Architecture: all
-Depends: ${misc:Depends}, golang#P#-go
-Section: doc
-Description: Go programming language compiler - documentation
- The Go programming language is an open source project to make
- programmers more productive. Go is expressive, concise, clean, and
- efficient. Its concurrency mechanisms make it easy to write programs
- that get the most out of multicore and networked machines, while its
- novel type system enables flexible and modular program construction.
- Go compiles quickly to machine code yet has the convenience of
- garbage collection and the power of run-time reflection. It's a fast,
- statically typed, compiled language that feels like a dynamically
- typed, interpreted language.
- .
- This package provides the documentation for the Go programming
- language. You can view the formatted documentation by running "godoc
- --http=:6060", and then visiting http://localhost:6060/doc/install.html.
-
-Package: golang#P#-dbg
-Conflicts: golang#C#-dbg
-Provides: golang#C#-dbg
-Architecture: i386 amd64 kfreebsd-i386 kfreebsd-amd64 armel armhf
-Depends: ${misc:Depends}, golang#P#-go (= ${binary:Version})
-Recommends: gdb
-Section: debug
-Priority: extra
-Description: Go programming language compiler - debug files
- The Go programming language is an open source project to make
- programmers more productive. Go is expressive, concise, clean, and
- efficient. Its concurrency mechanisms make it easy to write programs
- that get the most out of multicore and networked machines, while its
- novel type system enables flexible and modular program construction.
- Go compiles quickly to machine code yet has the convenience of
- garbage collection and the power of run-time reflection. It's a
- fast, statically typed, compiled language that feels like a
- dynamically typed, interpreted language.
- .
- This package provides the debug symbols for Google's Go tool
- chain binaries (assembler, compiler, linker) needed for properly
- debugging errors in the tool chain with gdb.
-
-Package: golang#P#
-Depends: ${misc:Depends},
-	 golang#P#-go (>= ${source:Version}),
-	 golang#P#-src (>= ${source:Version}),
-	 golang#P#-doc (>= ${source:Version})
-Architecture: all
-Description: Go programming language compiler - metapackage
- The Go programming language is an open source project to make
- programmers more productive. Go is expressive, concise, clean, and
- efficient. Its concurrency mechanisms make it easy to write programs
- that get the most out of multicore and networked machines, while its
- novel type system enables flexible and modular program construction.
- Go compiles quickly to machine code yet has the convenience of
- garbage collection and the power of run-time reflection. It's a
- fast, statically typed, compiled language that feels like a
- dynamically typed, interpreted language.
- .
- This package is a metapackage that, when installed, guarantees
- that (most of) a full Go development environment is installed.
-
-#EXTRA#
diff --git a/debian/rules b/debian/rules
index f9d9cce..a32fe31 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,20 +8,6 @@ libexecdir := /usr/lib/go
 datadir := /usr/share/go
 bindir := /bin
 
-ifeq ($(PACKAGE), golang)
-	P=
-	C=-weekly
-else
-	P=-weekly
-	C=
-endif
-
-debian/control: debian/control.in debian/control.extra
-	sed -e's/#P#/$(P)/g; s/#C#/$(C)/g; /#EXTRA#/ r debian/control.extra' \
-	< debian/control.in | \
-	sed -e'/#EXTRA#/ d' \
-	> debian/control
-
 build clean install binary-arch binary-indep binary: debian/control
 	+dh --parallel $(opt_no_act) $@
 

-- 
Packaging for Google Go



More information about the Pkg-google-commits mailing list