diff options
author | Mike Gilbert <floppym@gentoo.org> | 2012-02-16 01:33:50 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2012-02-16 01:33:50 +0000 |
commit | 9ffca32d757f6df124c4139df040015f0ef2b2c0 (patch) | |
tree | d23f7343c70e0517bcc4ea017073dc9609a3035d /dev-vcs/mercurial-server | |
parent | Version bump. Drop old. (diff) | |
download | historical-9ffca32d757f6df124c4139df040015f0ef2b2c0.tar.gz historical-9ffca32d757f6df124c4139df040015f0ef2b2c0.tar.bz2 historical-9ffca32d757f6df124c4139df040015f0ef2b2c0.zip |
Version bump by request of maintainer. Bug 391973.
Package-Manager: portage-2.2.0_alpha86/cvs/Linux x86_64
Diffstat (limited to 'dev-vcs/mercurial-server')
-rw-r--r-- | dev-vcs/mercurial-server/ChangeLog | 9 | ||||
-rw-r--r-- | dev-vcs/mercurial-server/Manifest | 14 | ||||
-rw-r--r-- | dev-vcs/mercurial-server/mercurial-server-1.2.ebuild | 83 |
3 files changed, 97 insertions, 9 deletions
diff --git a/dev-vcs/mercurial-server/ChangeLog b/dev-vcs/mercurial-server/ChangeLog index b72b525891f0..79ecb197e8b5 100644 --- a/dev-vcs/mercurial-server/ChangeLog +++ b/dev-vcs/mercurial-server/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-vcs/mercurial-server -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial-server/ChangeLog,v 1.1 2011/01/13 20:22:42 rafaelmartins Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial-server/ChangeLog,v 1.2 2012/02/16 01:33:50 floppym Exp $ + +*mercurial-server-1.2 (16 Feb 2012) + + 16 Feb 2012; Mike Gilbert <floppym@gentoo.org> +mercurial-server-1.2.ebuild: + Version bump by request of maintainer. Bug 391973. *mercurial-server-9999 (13 Jan 2011) *mercurial-server-1.1 (13 Jan 2011) diff --git a/dev-vcs/mercurial-server/Manifest b/dev-vcs/mercurial-server/Manifest index ba82446d7b16..d9085cbdc0ac 100644 --- a/dev-vcs/mercurial-server/Manifest +++ b/dev-vcs/mercurial-server/Manifest @@ -3,16 +3,16 @@ Hash: SHA256 AUX mercurial-server-1.1_documentation.patch 1117 RMD160 aea01a541124ae72ad67c17d34faab8061181514 SHA1 2267feb2be6eaae73b0665ab5413c801c68376d8 SHA256 518f3b4154bf8f06aa8b1c2eee663fd0e35de9741e90a30db54bb3228a7639b7 DIST mercurial-server_1.1.tar.gz 21166 RMD160 d6e1e0c4706c1be750f1ed1f79b76b4d07ec1a94 SHA1 229a17dc84824e1341ad99734d16c426a4e2b639 SHA256 34b18275d48397122aed519f91eb3602983ef952597ed807de868b413ead7091 +DIST mercurial-server_1.2.tar.gz 21560 RMD160 6f66a330f1743f1b493ee48dd7eb07e8083146e8 SHA1 4da61bcccf56886def8cd59f4d4fbb8199392bee SHA256 c6693bc19d1d8d44593e792af95a402ca112a7fa29efba6b9851bc696b258a91 EBUILD mercurial-server-1.1.ebuild 1883 RMD160 d89c58dfbfff3ae6a0e1ab7867ae207b3995a4ee SHA1 a819c48c4773d3130935d968889e44fed3578bc5 SHA256 7aad73de515fc8c5eb3ecc9f51be4f3c0aa9664b713f5a308d8ac57b55a9fc4d +EBUILD mercurial-server-1.2.ebuild 1877 RMD160 bed6752e7ec1907b762439238bf8c9aecc3d9192 SHA1 027830ee628e723f36f592932aff78d282c510c4 SHA256 7d4e7d2cc7ed6b86e0bcc15ebe8d48b0af88ab103061193a299b736304a67188 EBUILD mercurial-server-9999.ebuild 1884 RMD160 a87f93d1b0741d9b0dfec9897c69fe58b27522a5 SHA1 c4ee8831910caea4f1d1d0cadfba5ac08af6517a SHA256 ec1ec0ef7dfc026534e5c7af196a9c2035ce8cefa248f00cce37fa27a22daa6f -MISC ChangeLog 512 RMD160 d01291527c3db979e3a7abf2979b925519ca5bfa SHA1 c6e80b6e3680a61328bf9daa6df948f91bd49e8b SHA256 a2edfa86b0b4f31c71633a6060101e7790882f64b1c7085888180efc7721d15f +MISC ChangeLog 676 RMD160 d6f81142672e10545054d2e77e7f681c561656d5 SHA1 adbd4211a10087348431324906dcae8c4074e92f SHA256 c4c2bccac192bfffaa71fcf032a8e5e6fa03cac97b483ef36bfb63c4263971f9 MISC metadata.xml 521 RMD160 2f0a1949fc4788485c7827aa2776b39139ae2b2a SHA1 d1bf9f762f459a24924642368515b0b2f4ef7c56 SHA256 25a116bb0c7c9fa26527301d462e5bad2bf3bc5300da5b1ba1a52a5a31a77d97 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.18 (GNU/Linux) +Version: GnuPG v2.0.17 (GNU/Linux) -iJwEAQEIAAYFAk59nKcACgkQfXuS5UK5QB0qMwQAoy++EoK/nJWBg9tVbmn/qCUG -sYkx/TkZRv81nQW72HELgg9UizZ4dC8vK+IBZ3mMUK1cLEstIBcJQuqgCynyGt6k -DwSkDthJTK4sHDTwpzM9r6uKaJ0KinrlUsFUHkuhnbYvgjpPFEw66V7V5rN7qWhV -AzATPRiKD1PT0qIM/vc= -=C271 +iF4EAREIAAYFAk88XQcACgkQC77qH+pIQ6Rj2gEAqCpM6imlGhb/KaIX6tlcTTg6 +RC/G4GzDqI02Ua8kFeIA/3hdnGcG3huC/62KPspRxXBq17yy9PmmLunzzyvBV8kw +=ARbG -----END PGP SIGNATURE----- diff --git a/dev-vcs/mercurial-server/mercurial-server-1.2.ebuild b/dev-vcs/mercurial-server/mercurial-server-1.2.ebuild new file mode 100644 index 000000000000..fb57bdf4e17f --- /dev/null +++ b/dev-vcs/mercurial-server/mercurial-server-1.2.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial-server/mercurial-server-1.2.ebuild,v 1.1 2012/02/16 01:33:50 floppym Exp $ + +EAPI="3" +PYTHON_DEPEND="2" + +if [[ "${PV}" = "9999" ]]; then + EHG_REVISION="default" + inherit distutils eutils mercurial + EHG_REPO_URI="http://hg.opensource.lshift.net/mercurial-server" + KEYWORDS="" + S="${WORKDIR}/${PN}" +else + inherit distutils eutils + MY_P="${PN}_${PV}" + SRC_URI="http://dev.lshift.net/paul/mercurial-server/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${MY_P}" +fi + +DESCRIPTION="Mercurial authentication and authorization tools" +HOMEPAGE="http://www.lshift.net/mercurial-server.html" + +LICENSE="GPL-2" +SLOT="0" +IUSE="doc" + +RDEPEND="dev-vcs/mercurial" +DEPEND="${RDEPEND} + doc? ( + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + )" + +pkg_setup() { + enewgroup hg + enewuser hg -1 /bin/bash "/var/lib/${PN}" hg +} + +src_prepare() { + # remove useless makefile + rm Makefile + + # fix installation paths + sed -i -e "s|'init'|'share/${PN}/init'|" setup.py \ + || die 'sed setup.py failed.' + + # fix documentation + if [[ "${PV}" = "1.1" ]]; then + epatch "${FILESDIR}/${P}_documentation.patch" + fi +} + +src_compile() { + distutils_src_compile + + # build documentation + if use doc; then + xsltproc --nonet -o manual.html \ + /usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl \ + doc/manual.docbook || die "xsltproc failed" + fi +} + +src_install() { + distutils_src_install --install-scripts="/usr/share/${PN}" + + # install configuration files + insinto "/etc/${PN}" + doins -r src/init/conf/* + keepdir /etc/mercurial-server/keys/{root,users} + + # install documentation + if use doc; then + dohtml manual.html + fi + + # install hg home directory + keepdir "/var/lib/${PN}" + fowners hg:hg "/var/lib/${PN}" + fperms 750 "/var/lib/${PN}" +} |