summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2017-01-15 11:26:35 +0100
committerPacho Ramos <pacho@gentoo.org>2017-01-15 11:32:51 +0100
commit1b3b9bdbacc111a1399bf1f7ee9c6876114ca4d7 (patch)
tree1ab6a7152ced89d31f5e7bfab1cc183ada95ce24 /dev-vcs
parentdev-vcs/hgsubversion: Drop old (diff)
downloadgentoo-1b3b9bdbacc111a1399bf1f7ee9c6876114ca4d7.tar.gz
gentoo-1b3b9bdbacc111a1399bf1f7ee9c6876114ca4d7.tar.bz2
gentoo-1b3b9bdbacc111a1399bf1f7ee9c6876114ca4d7.zip
dev-vcs/mercurial-server: Drop old
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/mercurial-server/Manifest1
-rw-r--r--dev-vcs/mercurial-server/mercurial-server-1.1.ebuild82
2 files changed, 0 insertions, 83 deletions
diff --git a/dev-vcs/mercurial-server/Manifest b/dev-vcs/mercurial-server/Manifest
index 0d9d720d74c8..3f4482f04b50 100644
--- a/dev-vcs/mercurial-server/Manifest
+++ b/dev-vcs/mercurial-server/Manifest
@@ -1,2 +1 @@
-DIST mercurial-server_1.1.tar.gz 21166 SHA256 34b18275d48397122aed519f91eb3602983ef952597ed807de868b413ead7091 SHA512 af154d21e70a2f4b6027336a57729c8f8c7ba3e9427778c784028f8902b697743a6bcd96336642d65a6e8408d1ebaf428f7851b82807ddf1ce89e58ff92a3022 WHIRLPOOL 86fad7092c3ee8f6c975634d563d00b7cd84cd93196dd6ebaf484158e3e31ea69f02fdc57c274c4b2d156b756d4fe3e22227c0ffb259e0a599f7c1c60f527375
DIST mercurial-server_1.2.tar.gz 21560 SHA256 c6693bc19d1d8d44593e792af95a402ca112a7fa29efba6b9851bc696b258a91 SHA512 3dec14309fc050fa49ffd5253a491b2d65507ed8da04741ba5247d420701a9f836a1c3ef6924a706671e28bafbe0200af03c817184e303179002419887400ce0 WHIRLPOOL 8f475db3b86169c4eddad7364901e6027f9421c7883d826f122d91f65a2124ea8e875f6f0f35b3ddf339e43bcba304d20837b762966d07077bce5acb87e5a9fe
diff --git a/dev-vcs/mercurial-server/mercurial-server-1.1.ebuild b/dev-vcs/mercurial-server/mercurial-server-1.1.ebuild
deleted file mode 100644
index 0c131f4f95e1..000000000000
--- a/dev-vcs/mercurial-server/mercurial-server-1.1.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="3"
-PYTHON_DEPEND="2"
-
-inherit distutils eutils user
-
-if [[ "${PV}" = "9999" ]]; then
- inherit mercurial
- EHG_REPO_URI="http://hg.opensource.lshift.net/mercurial-server"
- KEYWORDS=""
-else
- 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}"
-}