[gentoo-commits] repo/gentoo:master commit in: dev-vcs/mercurial-server/

2020-01-09 Thread Rafael Martins
commit: 0817f8619289b76babd5efe75fd465da5fb315b3
Author: Rafael Martins  gentoo  org>
AuthorDate: Thu Jan  9 18:31:40 2020 +
Commit: Rafael Martins  gentoo  org>
CommitDate: Thu Jan  9 18:41:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0817f861

dev-vcs/mercurial-server: drop to maintainer-needed

Signed-off-by: Rafael Martins  gentoo.org>
Package-Manager: Portage-2.3.79, Repoman-2.3.16

 dev-vcs/mercurial-server/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dev-vcs/mercurial-server/metadata.xml 
b/dev-vcs/mercurial-server/metadata.xml
index 16b6109563d..a59ea4d751d 100644
--- a/dev-vcs/mercurial-server/metadata.xml
+++ b/dev-vcs/mercurial-server/metadata.xml
@@ -1,10 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   rafaelmart...@gentoo.org
-   Rafael G. Martins
-   
+   

mercurial-server gives your developers remote read/write access 
to
centralized Mercurial repositories using SSH public key 
authentication; it



[gentoo-commits] repo/gentoo:master commit in: dev-vcs/mercurial-server/

2017-11-26 Thread David Seifert
commit: 69d81a74b068bc1c37ae2fb46e78a24440fc7150
Author: David Seifert  gentoo  org>
AuthorDate: Sat Nov 25 22:46:50 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Nov 26 11:39:17 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69d81a74

dev-vcs/mercurial-server: [QA] Consistent whitespace in metadata.xml

 dev-vcs/mercurial-server/metadata.xml | 18 +-
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/dev-vcs/mercurial-server/metadata.xml 
b/dev-vcs/mercurial-server/metadata.xml
index 464002981e5..16b6109563d 100644
--- a/dev-vcs/mercurial-server/metadata.xml
+++ b/dev-vcs/mercurial-server/metadata.xml
@@ -1,13 +1,13 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-  
-rafaelmart...@gentoo.org
-Rafael G. Martins
-  
-  
-mercurial-server gives your developers remote read/write access to
-   centralized Mercurial repositories using SSH public key authentication; 
it
-   provides convenient and fine-grained key management and access control.
-  
+   
+   rafaelmart...@gentoo.org
+   Rafael G. Martins
+   
+   
+   mercurial-server gives your developers remote read/write access 
to
+   centralized Mercurial repositories using SSH public key 
authentication; it
+   provides convenient and fine-grained key management and access 
control.
+   
 



[gentoo-commits] repo/gentoo:master commit in: dev-vcs/mercurial-server/files/

2017-08-19 Thread Patrice Clement
commit: f28d2aff162a4ebfa0507482820f718a7843523e
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Wed Aug 16 09:25:13 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sat Aug 19 14:20:22 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f28d2aff

dev-vcs/mercurial-server: remove unused patch.

Closes: https://github.com/gentoo/gentoo/pull/5441

 .../files/mercurial-server-1.1_documentation.patch | 18 --
 1 file changed, 18 deletions(-)

diff --git 
a/dev-vcs/mercurial-server/files/mercurial-server-1.1_documentation.patch 
b/dev-vcs/mercurial-server/files/mercurial-server-1.1_documentation.patch
deleted file mode 100644
index 545eb3fabfe..000
--- a/dev-vcs/mercurial-server/files/mercurial-server-1.1_documentation.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-# HG changeset patch
-# User Rafael G. Martins 
-# Date 1294947033 7200
-# Node ID 43c5177150a58f1e5e778319ec055b767971d0b0
-# Parent  022d2e6bcdde0599465cb7193b836f93154b4c78
-add missing configuration step (hginit) to doc/manual.docbook
-
-diff --git a/doc/manual.docbook b/doc/manual.docbook
 a/doc/manual.docbook
-+++ b/doc/manual.docbook
-@@ -51,6 +51,7 @@
- jay@jeeves:~$ ssh-add -L > 
my-key
- jay@jeeves:~$ sudo mkdir -p 
/etc/mercurial-server/keys/root/jay
- jay@jeeves:~$ sudo cp my-key 
/etc/mercurial-server/keys/root/jay/spoon
-+jay@jeeves:~$ sudo -u hg 
/usr/share/mercurial-server/init/hginit /usr/share/mercurial-server
- jay@jeeves:~$ sudo -u hg 
/usr/share/mercurial-server/refresh-auth
- jay@jeeves:~$ exit
- Connection to jeeves closed.



[gentoo-commits] repo/gentoo:master commit in: dev-vcs/mercurial-server/

2017-02-17 Thread Michał Górny
commit: 3a6bd2277d50ef53eb50676b0749d3bce91277dd
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb 17 14:40:21 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Feb 17 14:47:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a6bd227

dev-vcs/mercurial-server: distutils-r1, EAPI=6

 ...r-1.2.ebuild => mercurial-server-1.2-r1.ebuild} | 43 +++---
 .../mercurial-server/mercurial-server-.ebuild  | 43 +++---
 2 files changed, 44 insertions(+), 42 deletions(-)

diff --git a/dev-vcs/mercurial-server/mercurial-server-1.2.ebuild 
b/dev-vcs/mercurial-server/mercurial-server-1.2-r1.ebuild
similarity index 65%
rename from dev-vcs/mercurial-server/mercurial-server-1.2.ebuild
rename to dev-vcs/mercurial-server/mercurial-server-1.2-r1.ebuild
index 6f78f01919..9212f8 100644
--- a/dev-vcs/mercurial-server/mercurial-server-1.2.ebuild
+++ b/dev-vcs/mercurial-server/mercurial-server-1.2-r1.ebuild
@@ -1,11 +1,14 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="3"
-PYTHON_DEPEND="2"
+EAPI=6
 
-inherit distutils eutils user
+# force single impl to avoid python-exec wrapping
+DISTUTILS_SINGLE_IMPL=1
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 user
 
 if [[ "${PV}" = "" ]]; then
inherit mercurial
@@ -35,45 +38,43 @@ DEPEND="${RDEPEND}
 pkg_setup() {
enewgroup hg
enewuser hg -1 /bin/bash "/var/lib/${PN}" hg
+   python-single-r1_pkg_setup
 }
 
-src_prepare() {
+python_prepare_all() {
# remove useless makefile
-   rm Makefile
+   rm Makefile || die
 
# 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
+   distutils-r1_python_prepare_all
 }
 
-src_compile() {
-   distutils_src_compile
-
+python_compile_all() {
# 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"
+   
/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}"
+python_install() {
+   distutils-r1_python_install --install-scripts="/usr/share/${PN}"
+}
+
+python_install_all() {
+   distutils-r1_python_install_all
 
# install configuration files
insinto "/etc/${PN}"
-   doins -r src/init/conf/*
+   doins -r src/init/conf/.
keepdir /etc/mercurial-server/keys/{root,users}
 
# install documentation
-   if use doc; then
-   dohtml manual.html
-   fi
+   use doc && dodoc manual.html
 
# install hg home directory
keepdir "/var/lib/${PN}"

diff --git a/dev-vcs/mercurial-server/mercurial-server-.ebuild 
b/dev-vcs/mercurial-server/mercurial-server-.ebuild
index 0c131f4f95..c53d6b79af 100644
--- a/dev-vcs/mercurial-server/mercurial-server-.ebuild
+++ b/dev-vcs/mercurial-server/mercurial-server-.ebuild
@@ -1,11 +1,14 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="3"
-PYTHON_DEPEND="2"
+EAPI=6
 
-inherit distutils eutils user
+# force single impl to avoid python-exec wrapping
+DISTUTILS_SINGLE_IMPL=1
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 user
 
 if [[ "${PV}" = "" ]]; then
inherit mercurial
@@ -35,45 +38,43 @@ DEPEND="${RDEPEND}
 pkg_setup() {
enewgroup hg
enewuser hg -1 /bin/bash "/var/lib/${PN}" hg
+   python-single-r1_pkg_setup
 }
 
-src_prepare() {
+python_prepare_all() {
# remove useless makefile
-   rm Makefile
+   rm Makefile || die
 
# 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
+   distutils-r1_python_prepare_all
 }
 
-src_compile() {
-   distutils_src_compile
-
+python_compile_all() {
# 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"
+   
/usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl \
+   doc/manual.docbook || die "xsltproc failed"
fi
 }

[gentoo-commits] repo/gentoo:master commit in: dev-vcs/mercurial-server/

2017-01-15 Thread Pacho Ramos
commit: 1b3b9bdbacc111a1399bf1f7ee9c6876114ca4d7
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jan 15 10:26:35 2017 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jan 15 10:32:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b3b9bdb

dev-vcs/mercurial-server: Drop old

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-vcs/mercurial-server/Manifest  |  1 -
 .../mercurial-server/mercurial-server-1.1.ebuild   | 82 --
 2 files changed, 83 deletions(-)

diff --git a/dev-vcs/mercurial-server/Manifest 
b/dev-vcs/mercurial-server/Manifest
index 0d9d720..3f4482f 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 
86fad7092c3ee8f6c975634d563d00b7cd84cd93196dd6ebaf484158e3e31ea69f02fdc57c274c4b2d156b756d4fe3e7c0ffb259e0a599f7c1c60f527375
 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 0c131f4..
--- 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}" = "" ]]; 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}"
-}