Add dev-util/update-copyright package.
authorW. Trevor King <wking@drexel.edu>
Thu, 16 Feb 2012 13:57:26 +0000 (08:57 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 16 Feb 2012 13:57:26 +0000 (08:57 -0500)
ChangeLog [new file with mode: 0644]
Manifest [new file with mode: 0644]
metadata.xml [new file with mode: 0644]
update-copyright-9999.ebuild [new file with mode: 0644]

diff --git a/ChangeLog b/ChangeLog
new file mode 100644 (file)
index 0000000..cf468be
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,14 @@
+# ChangeLog for dev-util/update-copyright
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*update-copyright-9999 (16 Feb 2012)
+  16 Feb 2012; W. Trevor King <wking@drexel.edu> ChangeLog, metadata.xml,
+      update-copyright-9999.ebuild:
+  - Created ebuild suite for update-copyright.
+  - Added initial ChangeLog which should be updated whenever the
+  package is updated in any way. This changelog is targetted to
+  users. This means that the comments should well explained and
+  written in clean English. The details about writing correct
+  changelogs are explained in the skel.ChangeLog file which you can
+  find in the root directory of the portage repository.
diff --git a/Manifest b/Manifest
new file mode 100644 (file)
index 0000000..3eb4c86
--- /dev/null
+++ b/Manifest
@@ -0,0 +1,3 @@
+EBUILD update-copyright-9999.ebuild 862 RMD160 a8d678e4c86710883c0fb53b2c088e80c5980710 SHA1 a12d391186ab8e012ca830e891989bff8acb116d SHA256 4d6cc992b2794cc92c1327de71d6842d99a0c009d1c01210a1d4ba942f98ecf6
+MISC ChangeLog 699 RMD160 b300aee160cfab451d63b5b6dcfe19424945d20e SHA1 b6b098b8b6bcac7fe95f365692b2b762c9cb8666 SHA256 25f7bb5eccb876818c6b0ac5e7e7e7f2720fb726abae17e6abc0442c50a15bd7
+MISC metadata.xml 338 RMD160 23d5f69311ff2460366d8f88dfa44a7ff56d4b2f SHA1 5843f15415d051ecbf8ecc2fdfe831947456f020 SHA256 b057942c8dcdf66d18237b7fb93950c1d36148d3ea50af2fdaf5e6db93342024
diff --git a/metadata.xml b/metadata.xml
new file mode 100644 (file)
index 0000000..4e4e42c
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd></herd>
+       <maintainer>
+               <email>wking@drexel.edu</email>
+               <name>W. Trevor King</name>
+               <description>Automatically update copyright blurbs in versioned source.
+               </description>
+       </maintainer>
+</pkgmetadata>
diff --git a/update-copyright-9999.ebuild b/update-copyright-9999.ebuild
new file mode 100644 (file)
index 0000000..3b5166d
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+PYTHON_DEPEND="2:2.6"
+PYTHON_MODNAME="update_copyright"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4 2.5 3.*"
+
+inherit eutils distutils
+
+if [[ "${PV}" == "9999" ]] ; then
+       inherit git-2
+       EGIT_BRANCH="master"
+       EGIT_REPO_URI="git://tremily.us/${PN}.git"
+       SRC_URI=""
+else
+       SRC_URI="http://physics.drexel.edu/~wking/code/git/gitweb.cgi?p=${PN}.git;a=snapshot;h=v${PV};sf=tgz -> ${P}.tar.gz"
+fi
+
+DESCRIPTION="Automatically update copyright blurbs in versioned source."
+HOMEPAGE="http://blog.tremily.us/posts/update-copyright/"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-lang/python"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+       if [[ "${PV}" == "9999" ]] ; then
+               git-2_src_unpack
+       else
+               unpack "${A}"
+       fi
+       cd "${S}"
+}