[gentoo-commits] repo/gentoo:master commit in: www-apps/blohg/, profiles/

2022-10-07 Thread Arthur Zamarin
commit: 168fba9fb7575277042ac5a1329682a957788470
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Oct  7 20:06:50 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Oct  7 20:10:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=168fba9f

www-apps/blohg: treeclean

Closes: https://bugs.gentoo.org/869107
Closes: https://bugs.gentoo.org/832256
Signed-off-by: Arthur Zamarin  gentoo.org>

 profiles/package.mask   |  5 ---
 www-apps/blohg/Manifest |  2 -
 www-apps/blohg/blohg-0.13-r4.ebuild | 78 -
 www-apps/blohg/blohg-.ebuild| 78 -
 www-apps/blohg/metadata.xml | 26 -
 5 files changed, 189 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index 8702c9842459..3f6158c87170 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -259,11 +259,6 @@ dev-python/SaltTesting
 # Bug #868762.
 =dev-util/pahole-1.24
 
-# Arthur Zamarin  (2022-09-07)
-# Python 3.8 only package, no maintainer left.
-# Removal: 2022-10-07.  Bug #869107.
-www-apps/blohg
-
 # Mike Gilbert  (2022-09-05)
 # Crash due to double-free.
 # https://bugs.gentoo.org/868567

diff --git a/www-apps/blohg/Manifest b/www-apps/blohg/Manifest
deleted file mode 100644
index 8d8bcd4e9d73..
--- a/www-apps/blohg/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST blohg-0.13.tar.gz 75003 BLAKE2B 
6b9760ffa99ca85a40e35c81341e395fdfc00256f5e80091c6883e54f050d4cf3f345c4752b635b1297d15e0055c182e00e74165451d695bb396c869c285646f
 SHA512 
de8643e85e3f72827408d726bbe2f8674dcc6dcf1efdc47d33a934892071f8365cb54e63a6adb803361c7fd04032b2ac4e786c442676e8a8132b6d3221696865
-DIST blohg-patches-0.13-r4.tar.xz 14960 BLAKE2B 
31458f412395000a05b359db25e8af648c54e554a3b3216f6c62355fd7203fc19c4452defe7692d0382653563f7b0565395af4ceb2177cc8e6de1d7e1a3c7b41
 SHA512 
3f709880bdd1826b74982866931f5002fdda451a205b6c278a9869979314413f37c8bf6400e3064a463f2fd34810e22d0d4cd5dfc89786f9e276dd9bd9fe5ec2

diff --git a/www-apps/blohg/blohg-0.13-r4.ebuild 
b/www-apps/blohg/blohg-0.13-r4.ebuild
deleted file mode 100644
index 82259f3e10b6..
--- a/www-apps/blohg/blohg-0.13-r4.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-
-GIT_ECLASS=""
-if [[ ${PV} = ** ]]; then
-   GIT_ECLASS="git-r3"
-   EGIT_REPO_URI="https://github.com/rafaelmartins/blohg;
-fi
-
-inherit distutils-r1 ${GIT_ECLASS}
-
-DESCRIPTION="A Mercurial (or Git) based blogging engine"
-HOMEPAGE="https://github.com/rafaelmartins/blohg;
-
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
-   
https://dev.gentoo.org/~rafaelmartins/distfiles/${PN}-patches-${PVR}.tar.xz;
-if [[ ${PV} = ** ]]; then
-   SRC_URI=""
-else
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="doc git +mercurial test"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="|| ( git mercurial )
-   test? ( git mercurial )"
-
-RDEPEND="
-   dev-python/click[${PYTHON_USEDEP}]
-   dev-python/docutils[${PYTHON_USEDEP}]
-   dev-python/feedgenerator[${PYTHON_USEDEP}]
-   dev-python/flask[${PYTHON_USEDEP}]
-   dev-python/flask-babel[${PYTHON_USEDEP}]
-   dev-python/Frozen-Flask[${PYTHON_USEDEP}]
-   dev-python/jinja[${PYTHON_USEDEP}]
-   dev-python/pyyaml[${PYTHON_USEDEP}]
-   dev-python/pygments[${PYTHON_USEDEP}]
-   git? ( dev-python/pygit2[${PYTHON_USEDEP}] )
-   mercurial? ( >=dev-vcs/mercurial-5.2[${PYTHON_USEDEP}] )"
-
-DEPEND="${RDEPEND}
-   doc? ( dev-python/sphinx )"
-
-python_prepare_all() {
-   if [[ ${PV} != ** ]]; then
-   eapply "${WORKDIR}/${PN}-patches-${PVR}"
-   fi
-
-   if ! use git; then
-   rm -rf blohg/vcs_backends/git || die 'rm failed'
-   fi
-
-   if ! use mercurial; then
-   rm -rf blohg/vcs_backends/hg || die 'rm failed'
-   fi
-
-   distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-   use doc && emake -C docs html
-}
-
-python_install_all() {
-   use doc && HTML_DOCS=( docs/_build/html/. )
-   distutils-r1_python_install_all
-}
-
-python_test() {
-   esetup.py test
-}

diff --git a/www-apps/blohg/blohg-.ebuild b/www-apps/blohg/blohg-.ebuild
deleted file mode 100644
index 82259f3e10b6..
--- a/www-apps/blohg/blohg-.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-
-GIT_ECLASS=""
-if [[ ${PV} = ** ]]; then
-   GIT_ECLASS="git-r3"
-   EGIT_REPO_URI="https://github.com/rafaelmartins/blohg;
-fi
-
-inherit distutils-r1 ${GIT_ECLASS}
-
-DESCRIPTION="A Mercurial (or Git) based blogging engine"
-HOMEPAGE="https://github.com/rafaelmartins/blohg;

[gentoo-commits] repo/gentoo:master commit in: www-apps/blohg/

2021-02-14 Thread Sam James
commit: d1f2227a1bb81f91bc28691f9718d06ea739c71a
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 14 23:29:05 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 15 00:32:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1f2227a

www-apps/blohg: fix double KEYWORDS

Double KEYWORDS lines break tools like ekeyword and Nattka.
As per PMS, blank/empty KEYWORDS is implied by not defining
the variable.

See: https://projects.gentoo.org/qa/policy-guide/ebuild-format.html#pg0105
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 www-apps/blohg/blohg-0.13-r4.ebuild | 6 +++---
 www-apps/blohg/blohg-.ebuild| 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/www-apps/blohg/blohg-0.13-r4.ebuild 
b/www-apps/blohg/blohg-0.13-r4.ebuild
index f0260ed804d..57732d82f2d 100644
--- a/www-apps/blohg/blohg-0.13-r4.ebuild
+++ b/www-apps/blohg/blohg-0.13-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,10 +18,10 @@ HOMEPAGE="https://github.com/rafaelmartins/blohg;
 
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz

https://dev.gentoo.org/~rafaelmartins/distfiles/${PN}-patches-${PVR}.tar.xz;
-KEYWORDS="~amd64 ~x86"
 if [[ ${PV} = ** ]]; then
SRC_URI=""
-   KEYWORDS=""
+else
+   KEYWORDS="~amd64 ~x86"
 fi
 
 LICENSE="GPL-2"

diff --git a/www-apps/blohg/blohg-.ebuild b/www-apps/blohg/blohg-.ebuild
index f0260ed804d..57732d82f2d 100644
--- a/www-apps/blohg/blohg-.ebuild
+++ b/www-apps/blohg/blohg-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,10 +18,10 @@ HOMEPAGE="https://github.com/rafaelmartins/blohg;
 
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz

https://dev.gentoo.org/~rafaelmartins/distfiles/${PN}-patches-${PVR}.tar.xz;
-KEYWORDS="~amd64 ~x86"
 if [[ ${PV} = ** ]]; then
SRC_URI=""
-   KEYWORDS=""
+else
+   KEYWORDS="~amd64 ~x86"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: www-apps/blohg/

2021-01-10 Thread Sam James
commit: b4a33f62e9515f5a12f6f8c82ea710f99087ecd9
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 10 22:04:15 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 10 22:27:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4a33f62

www-apps/blohg: mark ALLARCHES

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 www-apps/blohg/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www-apps/blohg/metadata.xml b/www-apps/blohg/metadata.xml
index c7137f08c10..64fa391cd8e 100644
--- a/www-apps/blohg/metadata.xml
+++ b/www-apps/blohg/metadata.xml
@@ -2,6 +2,7 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 

+   

blohg is a Mercurial (or Git) based blogging engine written in 
Python,
built with the Flask micro-framework and some of his available 
extensions.



[gentoo-commits] repo/gentoo:master commit in: www-apps/blohg/

2020-08-29 Thread Sam James
commit: 0d71d2d5cebf37d495bba7068eb1df492645ef87
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug 30 03:22:25 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 30 03:22:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d71d2d5

www-apps/blohg: add Python 3.7, 3.8 to 

Closes: https://bugs.gentoo.org/718538
Acked-by: Rafael Martins  gentoo.org>
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 www-apps/blohg/blohg-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-apps/blohg/blohg-.ebuild b/www-apps/blohg/blohg-.ebuild
index 6a4abc9a54f..fcd783f4f39 100644
--- a/www-apps/blohg/blohg-.ebuild
+++ b/www-apps/blohg/blohg-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7,8} )
 
 GIT_ECLASS=""
 if [[ ${PV} = ** ]]; then



[gentoo-commits] repo/gentoo:master commit in: www-apps/blohg/

2020-05-06 Thread Rafael Martins
commit: a33eaca145234c68b9a46ef2887b051aefd6b177
Author: Rafael Martins  gentoo  org>
AuthorDate: Wed May  6 20:15:44 2020 +
Commit: Rafael Martins  gentoo  org>
CommitDate: Wed May  6 20:16:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a33eaca1

www-apps/blohg: Add python3_{7,8}

Closes: https://bugs.gentoo.org/718538
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Rafael Martins  gentoo.org>

 www-apps/blohg/blohg-0.13-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-apps/blohg/blohg-0.13-r4.ebuild 
b/www-apps/blohg/blohg-0.13-r4.ebuild
index 6a4abc9a54f..fcd783f4f39 100644
--- a/www-apps/blohg/blohg-0.13-r4.ebuild
+++ b/www-apps/blohg/blohg-0.13-r4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7,8} )
 
 GIT_ECLASS=""
 if [[ ${PV} = ** ]]; then



[gentoo-commits] repo/gentoo:master commit in: www-apps/blohg/files/, www-apps/blohg/

2020-03-10 Thread Rafael Martins
commit: 995c8c25b4f3d9cd488e744b9b6b99d019facb13
Author: Rafael Martins  gentoo  org>
AuthorDate: Tue Mar 10 22:16:32 2020 +
Commit: Rafael Martins  gentoo  org>
CommitDate: Tue Mar 10 22:16:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=995c8c25

www-apps/blohg: port to python 3 (bug #702226)

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

 www-apps/blohg/Manifest|  1 +
 .../{blohg-0.13-r3.ebuild => blohg-0.13-r4.ebuild} | 48 ++
 www-apps/blohg/blohg-.ebuild   | 46 ++---
 www-apps/blohg/files/use-recent-libgit2.patch  | 17 
 4 files changed, 43 insertions(+), 69 deletions(-)

diff --git a/www-apps/blohg/Manifest b/www-apps/blohg/Manifest
index fa6fb11b357..8d8bcd4e9d7 100644
--- a/www-apps/blohg/Manifest
+++ b/www-apps/blohg/Manifest
@@ -1 +1,2 @@
 DIST blohg-0.13.tar.gz 75003 BLAKE2B 
6b9760ffa99ca85a40e35c81341e395fdfc00256f5e80091c6883e54f050d4cf3f345c4752b635b1297d15e0055c182e00e74165451d695bb396c869c285646f
 SHA512 
de8643e85e3f72827408d726bbe2f8674dcc6dcf1efdc47d33a934892071f8365cb54e63a6adb803361c7fd04032b2ac4e786c442676e8a8132b6d3221696865
+DIST blohg-patches-0.13-r4.tar.xz 14960 BLAKE2B 
31458f412395000a05b359db25e8af648c54e554a3b3216f6c62355fd7203fc19c4452defe7692d0382653563f7b0565395af4ceb2177cc8e6de1d7e1a3c7b41
 SHA512 
3f709880bdd1826b74982866931f5002fdda451a205b6c278a9869979314413f37c8bf6400e3064a463f2fd34810e22d0d4cd5dfc89786f9e276dd9bd9fe5ec2

diff --git a/www-apps/blohg/blohg-0.13-r3.ebuild 
b/www-apps/blohg/blohg-0.13-r4.ebuild
similarity index 56%
rename from www-apps/blohg/blohg-0.13-r3.ebuild
rename to www-apps/blohg/blohg-0.13-r4.ebuild
index f30c7c0ad0b..6a4abc9a54f 100644
--- a/www-apps/blohg/blohg-0.13-r3.ebuild
+++ b/www-apps/blohg/blohg-0.13-r4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python3_6 )
 
 GIT_ECLASS=""
 if [[ ${PV} = ** ]]; then
@@ -16,7 +16,8 @@ inherit distutils-r1 ${GIT_ECLASS}
 DESCRIPTION="A Mercurial (or Git) based blogging engine"
 HOMEPAGE="https://github.com/rafaelmartins/blohg;
 
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+   
https://dev.gentoo.org/~rafaelmartins/distfiles/${PN}-patches-${PVR}.tar.xz;
 KEYWORDS="~amd64 ~x86"
 if [[ ${PV} = ** ]]; then
SRC_URI=""
@@ -32,27 +33,28 @@ REQUIRED_USE="|| ( git mercurial )
test? ( git mercurial )"
 
 RDEPEND="
-   >=dev-python/click-2.0
-   >=dev-python/docutils-0.11
-   >=dev-python/flask-0.10.1
-   >=dev-python/flask-babel-0.7
-   >=dev-python/frozen-flask-0.7
-   >=dev-python/jinja-2.5.2
-   dev-python/pyyaml
-   dev-python/setuptools
-   dev-python/pygments
-   git? ( >=dev-python/pygit2-0.21.3 )
-   mercurial? ( >=dev-vcs/mercurial-1.6 )"
+   dev-python/click[${PYTHON_USEDEP}]
+   dev-python/docutils[${PYTHON_USEDEP}]
+   dev-python/feedgenerator[${PYTHON_USEDEP}]
+   dev-python/flask[${PYTHON_USEDEP}]
+   dev-python/flask-babel[${PYTHON_USEDEP}]
+   dev-python/frozen-flask[${PYTHON_USEDEP}]
+   dev-python/jinja[${PYTHON_USEDEP}]
+   dev-python/pyyaml[${PYTHON_USEDEP}]
+   dev-python/pygments[${PYTHON_USEDEP}]
+   git? ( dev-python/pygit2[${PYTHON_USEDEP}] )
+   mercurial? ( >=dev-vcs/mercurial-5.2[${PYTHON_USEDEP}] )"
 
 DEPEND="${RDEPEND}
-   doc? ( dev-python/sphinx )
-   test? ( dev-python/mock )"
+   doc? ( dev-python/sphinx )"
 
 python_prepare_all() {
+   if [[ ${PV} != ** ]]; then
+   eapply "${WORKDIR}/${PN}-patches-${PVR}"
+   fi
+
if ! use git; then
rm -rf blohg/vcs_backends/git || die 'rm failed'
-   else
-   local PATCHES=( "${FILESDIR}/use-recent-libgit2.patch" )
fi
 
if ! use mercurial; then
@@ -74,11 +76,3 @@ python_install_all() {
 python_test() {
esetup.py test
 }
-
-pkg_postinst() {
-   local ver="${PV}"
-   [[ ${PV} = ** ]] && ver="latest"
-
-   elog "You may want to check the upgrade notes:"
-   elog "http://docs.blohg.org/en/${ver}/upgrade/;
-}

diff --git a/www-apps/blohg/blohg-.ebuild b/www-apps/blohg/blohg-.ebuild
index 03b42c18276..6a4abc9a54f 100644
--- a/www-apps/blohg/blohg-.ebuild
+++ b/www-apps/blohg/blohg-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python3_6 )
 
 GIT_ECLASS=""
 if [[ ${PV} = ** ]]; then
@@ -16,7 +16,8 @@ inherit distutils-r1 ${GIT_ECLASS}
 DESCRIPTION="A Mercurial (or Git) based blogging 

[gentoo-commits] repo/gentoo:master commit in: www-apps/blohg-tumblelog/

2020-01-04 Thread Mikle Kolyada
commit: fbf730a1defcbe26f825748eb202dced507925b1
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Jan  4 08:54:19 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Jan  4 08:54:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbf730a1

www-apps/blohg-tumblelog: remove last-rited pkg

Signed-off-by: Mikle Kolyada  gentoo.org>

 www-apps/blohg-tumblelog/Manifest  |  1 -
 .../blohg-tumblelog/blohg-tumblelog-0.2.ebuild | 31 --
 .../blohg-tumblelog/blohg-tumblelog-.ebuild| 31 --
 www-apps/blohg-tumblelog/metadata.xml  | 20 --
 4 files changed, 83 deletions(-)

diff --git a/www-apps/blohg-tumblelog/Manifest 
b/www-apps/blohg-tumblelog/Manifest
deleted file mode 100644
index be1f81a29ff..000
--- a/www-apps/blohg-tumblelog/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST blohg-tumblelog-0.2.tar.gz 11046 BLAKE2B 
ffad48daca84f939fd7f57b149add91f7dbc3a9c74dfc94377a02c27216592699a222758ca741935eeb52a4b16c972b53d10f7686193ceff86db1546909e5afd
 SHA512 
c9819c503751f4b6dc5f53b2f16206912424fe51eee4c76da5331e1ee1847066f4c758e98ec6fae98b0e0dfe33d5a37ce5f4ea2ea3abba0fd276cde242489792

diff --git a/www-apps/blohg-tumblelog/blohg-tumblelog-0.2.ebuild 
b/www-apps/blohg-tumblelog/blohg-tumblelog-0.2.ebuild
deleted file mode 100644
index 068364304c3..000
--- a/www-apps/blohg-tumblelog/blohg-tumblelog-0.2.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-DESCRIPTION="A blohg extension with reStructuredText directives to run a 
tumblelog"
-HOMEPAGE="https://github.com/rafaelmartins/blohg-tumblelog;
-
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-KEYWORDS="~amd64 ~x86"
-if [[ ${PV} = ** ]]; then
-   SRC_URI=
-   KEYWORDS=
-   EGIT_REPO_URI="https://github.com/rafaelmartins/${PN}.git;
-   inherit git-r3
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE=""
-
-DEPEND="
-   >=www-apps/blohg-0.12
-   dev-python/pygments[${PYTHON_USEDEP}]
-   dev-python/pyoembed[${PYTHON_USEDEP}]
-   dev-python/beautifulsoup:4[${PYTHON_USEDEP}]"
-RDEPEND="${DEPEND}"

diff --git a/www-apps/blohg-tumblelog/blohg-tumblelog-.ebuild 
b/www-apps/blohg-tumblelog/blohg-tumblelog-.ebuild
deleted file mode 100644
index 068364304c3..000
--- a/www-apps/blohg-tumblelog/blohg-tumblelog-.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-DESCRIPTION="A blohg extension with reStructuredText directives to run a 
tumblelog"
-HOMEPAGE="https://github.com/rafaelmartins/blohg-tumblelog;
-
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-KEYWORDS="~amd64 ~x86"
-if [[ ${PV} = ** ]]; then
-   SRC_URI=
-   KEYWORDS=
-   EGIT_REPO_URI="https://github.com/rafaelmartins/${PN}.git;
-   inherit git-r3
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE=""
-
-DEPEND="
-   >=www-apps/blohg-0.12
-   dev-python/pygments[${PYTHON_USEDEP}]
-   dev-python/pyoembed[${PYTHON_USEDEP}]
-   dev-python/beautifulsoup:4[${PYTHON_USEDEP}]"
-RDEPEND="${DEPEND}"

diff --git a/www-apps/blohg-tumblelog/metadata.xml 
b/www-apps/blohg-tumblelog/metadata.xml
deleted file mode 100644
index f8048e3efc3..000
--- a/www-apps/blohg-tumblelog/metadata.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd;>
-
-   
-   rafaelmart...@gentoo.org
-   Rafael G. Martins
-   
-   
-   A blohg extension with reStructuredText directives to run a 
tumblelog.
-   
-   
-   
-   rafaelmart...@gentoo.org
-   Rafael G. Martins
-   
-   mailto:bl...@librelist.com
-   blohg-tumblelog
-   rafaelmartins/blohg-tumblelog
-   
-



[gentoo-commits] repo/gentoo:master commit in: www-apps/blohg/

2018-01-16 Thread Rafael Martins
commit: 410c02ed606ae2189a6696a63b1ea6e6af61df2f
Author: Rafael G. Martins  gentoo  org>
AuthorDate: Tue Jan 16 20:25:29 2018 +
Commit: Rafael Martins  gentoo  org>
CommitDate: Tue Jan 16 20:25:50 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=410c02ed

www-apps/blohg: removed docutils version lock (bug #643234)

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 www-apps/blohg/{blohg-0.13-r2.ebuild => blohg-0.13-r3.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-apps/blohg/blohg-0.13-r2.ebuild 
b/www-apps/blohg/blohg-0.13-r3.ebuild
similarity index 96%
rename from www-apps/blohg/blohg-0.13-r2.ebuild
rename to www-apps/blohg/blohg-0.13-r3.ebuild
index f28eb4067fe..f9a9daaf2eb 100644
--- a/www-apps/blohg/blohg-0.13-r2.ebuild
+++ b/www-apps/blohg/blohg-0.13-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -32,7 +32,7 @@ REQUIRED_USE="|| ( git mercurial )
 
 RDEPEND="
>=dev-python/click-2.0
-   =dev-python/docutils-0.11*
+   >=dev-python/docutils-0.11
>=dev-python/flask-0.10.1
>=dev-python/flask-babel-0.7
>=dev-python/frozen-flask-0.7



[gentoo-commits] repo/gentoo:master commit in: www-apps/blohg/

2017-08-06 Thread Patrice Clement
commit: 5f70c25a00390911c7f99c935fe3769747abd74c
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Sun Aug  6 10:47:21 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Aug  6 22:31:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f70c25a

www-apps/blohg: fix HOMEPAGE.

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

 www-apps/blohg/blohg-0.13-r2.ebuild | 2 +-
 www-apps/blohg/blohg-.ebuild| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-apps/blohg/blohg-0.13-r2.ebuild 
b/www-apps/blohg/blohg-0.13-r2.ebuild
index f75ca8fc1b1..f28eb4067fe 100644
--- a/www-apps/blohg/blohg-0.13-r2.ebuild
+++ b/www-apps/blohg/blohg-0.13-r2.ebuild
@@ -14,7 +14,7 @@ fi
 inherit distutils-r1 ${GIT_ECLASS}
 
 DESCRIPTION="A Mercurial (or Git) based blogging engine"
-HOMEPAGE="http://blohg.org/ https://pypi.python.org/pypi/blohg;
+HOMEPAGE="https://github.com/rafaelmartins/blohg;
 
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 KEYWORDS="~amd64 ~x86"

diff --git a/www-apps/blohg/blohg-.ebuild b/www-apps/blohg/blohg-.ebuild
index 5eb61884b79..f27bdfa76f2 100644
--- a/www-apps/blohg/blohg-.ebuild
+++ b/www-apps/blohg/blohg-.ebuild
@@ -14,7 +14,7 @@ fi
 inherit distutils-r1 ${GIT_ECLASS}
 
 DESCRIPTION="A Mercurial (or Git) based blogging engine"
-HOMEPAGE="http://blohg.org/ https://pypi.python.org/pypi/blohg;
+HOMEPAGE="https://github.com/rafaelmartins/blohg;
 
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 KEYWORDS="~amd64 ~x86"



[gentoo-commits] repo/gentoo:master commit in: www-apps/blohg-tumblelog/

2017-07-30 Thread Michał Górny
commit: 596877313920bfc42abd95c24f94f00a886f0821
Author: David Hicks  hicks  id  au>
AuthorDate: Sat Jul 29 15:03:20 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul 30 09:22:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59687731

www-apps/blohg-tumblelog: use HTTPS for GitHub

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 www-apps/blohg-tumblelog/blohg-tumblelog-0.2.ebuild  | 5 ++---
 www-apps/blohg-tumblelog/blohg-tumblelog-.ebuild | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/www-apps/blohg-tumblelog/blohg-tumblelog-0.2.ebuild 
b/www-apps/blohg-tumblelog/blohg-tumblelog-0.2.ebuild
index 2e9df279df4..068364304c3 100644
--- a/www-apps/blohg-tumblelog/blohg-tumblelog-0.2.ebuild
+++ b/www-apps/blohg-tumblelog/blohg-tumblelog-0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -15,8 +15,7 @@ KEYWORDS="~amd64 ~x86"
 if [[ ${PV} = ** ]]; then
SRC_URI=
KEYWORDS=
-   EGIT_REPO_URI="git://github.com/rafaelmartins/blohg-tumblelog.git
-   https://github.com/rafaelmartins/blohg-tumblelog.git;
+   EGIT_REPO_URI="https://github.com/rafaelmartins/${PN}.git;
inherit git-r3
 fi
 

diff --git a/www-apps/blohg-tumblelog/blohg-tumblelog-.ebuild 
b/www-apps/blohg-tumblelog/blohg-tumblelog-.ebuild
index 2e9df279df4..068364304c3 100644
--- a/www-apps/blohg-tumblelog/blohg-tumblelog-.ebuild
+++ b/www-apps/blohg-tumblelog/blohg-tumblelog-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -15,8 +15,7 @@ KEYWORDS="~amd64 ~x86"
 if [[ ${PV} = ** ]]; then
SRC_URI=
KEYWORDS=
-   EGIT_REPO_URI="git://github.com/rafaelmartins/blohg-tumblelog.git
-   https://github.com/rafaelmartins/blohg-tumblelog.git;
+   EGIT_REPO_URI="https://github.com/rafaelmartins/${PN}.git;
inherit git-r3
 fi
 



[gentoo-commits] repo/gentoo:master commit in: www-apps/blohg/

2017-07-30 Thread Michał Górny
commit: 0695daf0bb5a5b5511d34443e8a2c4c008c8f862
Author: David Hicks  hicks  id  au>
AuthorDate: Sat Jul 29 15:01:52 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul 30 09:22:47 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0695daf0

www-apps/blohg: use HTTPS for GitHub

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 www-apps/blohg/blohg-0.13-r2.ebuild | 5 ++---
 www-apps/blohg/blohg-.ebuild| 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/www-apps/blohg/blohg-0.13-r2.ebuild 
b/www-apps/blohg/blohg-0.13-r2.ebuild
index 8119bd49897..f75ca8fc1b1 100644
--- a/www-apps/blohg/blohg-0.13-r2.ebuild
+++ b/www-apps/blohg/blohg-0.13-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -8,8 +8,7 @@ PYTHON_COMPAT=( python2_7 )
 GIT_ECLASS=""
 if [[ ${PV} = ** ]]; then
GIT_ECLASS="git-r3"
-   EGIT_REPO_URI="git://github.com/rafaelmartins/blohg.git
-   https://github.com/rafaelmartins/blohg;
+   EGIT_REPO_URI="https://github.com/rafaelmartins/blohg;
 fi
 
 inherit distutils-r1 ${GIT_ECLASS}

diff --git a/www-apps/blohg/blohg-.ebuild b/www-apps/blohg/blohg-.ebuild
index b049df4015c..5eb61884b79 100644
--- a/www-apps/blohg/blohg-.ebuild
+++ b/www-apps/blohg/blohg-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -8,8 +8,7 @@ PYTHON_COMPAT=( python2_7 )
 GIT_ECLASS=""
 if [[ ${PV} = ** ]]; then
GIT_ECLASS="git-r3"
-   EGIT_REPO_URI="git://github.com/rafaelmartins/blohg.git
-   https://github.com/rafaelmartins/blohg;
+   EGIT_REPO_URI="https://github.com/rafaelmartins/blohg;
 fi
 
 inherit distutils-r1 ${GIT_ECLASS}



[gentoo-commits] repo/gentoo:master commit in: www-apps/blohg/

2016-11-06 Thread Rafael Martins
commit: 63eae40cbf27596efc7d1b8b096279d8468bd335
Author: Rafael Martins  gentoo  org>
AuthorDate: Sun Nov  6 23:12:10 2016 +
Commit: Rafael Martins  gentoo  org>
CommitDate: Sun Nov  6 23:12:10 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63eae40c

www-apps/blohg: update libgit2 dependency for live ebuild

Package-Manager: portage-2.2.28

 www-apps/blohg/blohg-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-apps/blohg/blohg-.ebuild b/www-apps/blohg/blohg-.ebuild
index b47db97..a535a65 100644
--- a/www-apps/blohg/blohg-.ebuild
+++ b/www-apps/blohg/blohg-.ebuild
@@ -42,7 +42,7 @@ RDEPEND="
dev-python/pyyaml
dev-python/setuptools
dev-python/pygments
-   git? ( =dev-python/pygit2-0.21* )
+   git? ( >=dev-python/pygit2-0.21.3 )
mercurial? ( >=dev-vcs/mercurial-1.6 )"
 
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: www-apps/blohg/files/, www-apps/blohg/

2016-11-06 Thread Rafael Martins
commit: 930998b2fdfce771b37de4e86ba799f09e9eaceb
Author: Rafael Martins  gentoo  org>
AuthorDate: Sun Nov  6 23:06:24 2016 +
Commit: Rafael Martins  gentoo  org>
CommitDate: Sun Nov  6 23:06:24 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=930998b2

www-apps/blohg: update libgit2 dependency

Package-Manager: portage-2.2.28

 .../{blohg-0.13-r1.ebuild => blohg-0.13-r2.ebuild}  |  6 --
 www-apps/blohg/files/use-recent-libgit2.patch   | 17 +
 2 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/www-apps/blohg/blohg-0.13-r1.ebuild 
b/www-apps/blohg/blohg-0.13-r2.ebuild
similarity index 93%
rename from www-apps/blohg/blohg-0.13-r1.ebuild
rename to www-apps/blohg/blohg-0.13-r2.ebuild
index 40f58f7..f4245e6 100644
--- a/www-apps/blohg/blohg-0.13-r1.ebuild
+++ b/www-apps/blohg/blohg-0.13-r2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
 
@@ -42,7 +42,7 @@ RDEPEND="
dev-python/pyyaml
dev-python/setuptools
dev-python/pygments
-   git? ( =dev-python/pygit2-0.20* )
+   git? ( >=dev-python/pygit2-0.21.3 )
mercurial? ( >=dev-vcs/mercurial-1.6 )"
 
 DEPEND="${RDEPEND}
@@ -52,6 +52,8 @@ DEPEND="${RDEPEND}
 python_prepare_all() {
if ! use git; then
rm -rf blohg/vcs_backends/git || die 'rm failed'
+   else
+   local PATCHES=( "${FILESDIR}/use-recent-libgit2.patch" )
fi
 
if ! use mercurial; then

diff --git a/www-apps/blohg/files/use-recent-libgit2.patch 
b/www-apps/blohg/files/use-recent-libgit2.patch
new file mode 100644
index ..decd01b
--- /dev/null
+++ b/www-apps/blohg/files/use-recent-libgit2.patch
@@ -0,0 +1,17 @@
+diff --git a/blohg/vcs_backends/git/filectx.py 
b/blohg/vcs_backends/git/filectx.py
+index 84f7aa3..5e20762 100644
+--- a/blohg/vcs_backends/git/filectx.py
 b/blohg/vcs_backends/git/filectx.py
+@@ -73,7 +73,11 @@ def _last_changeset(self):
+   GIT_SORT_TIME):
+ diff = self._repo.diff(head, commit)
+ for patch in diff:
+-if patch.new_file_path == self._path:
++try:
++new_file_path = patch.delta.new_file.path
++except AttributeError:
++new_file_path = patch.new_file_path
++if new_file_path == self._path:
+ return head
+ head = commit
+ 



[gentoo-commits] repo/gentoo:master commit in: www-apps/blohg/

2016-09-20 Thread Patrice Clement
commit: d1f8da2986458c34cdb9b8c3bbbc1026a90803da
Author: Patrice Clement  gentoo  org>
AuthorDate: Tue Sep 20 07:44:30 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Sep 20 07:44:46 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1f8da29

www-apps/blohg: clean up old.

Package-Manager: portage-2.2.28

 www-apps/blohg/blohg-0.13-r1.ebuild |  2 +-
 www-apps/blohg/blohg-0.13.ebuild| 83 -
 2 files changed, 1 insertion(+), 84 deletions(-)

diff --git a/www-apps/blohg/blohg-0.13-r1.ebuild 
b/www-apps/blohg/blohg-0.13-r1.ebuild
index fadd4d5..40f58f7 100644
--- a/www-apps/blohg/blohg-0.13-r1.ebuild
+++ b/www-apps/blohg/blohg-0.13-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 

diff --git a/www-apps/blohg/blohg-0.13.ebuild b/www-apps/blohg/blohg-0.13.ebuild
deleted file mode 100644
index d3a1c82..
--- a/www-apps/blohg/blohg-0.13.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-GIT_ECLASS=""
-if [[ ${PV} = ** ]]; then
-   GIT_ECLASS="git-r3"
-   EGIT_REPO_URI="git://github.com/rafaelmartins/blohg.git
-   https://github.com/rafaelmartins/blohg;
-fi
-
-inherit distutils-r1 ${GIT_ECLASS}
-
-DESCRIPTION="A Mercurial (or Git) based blogging engine"
-HOMEPAGE="http://blohg.org/ https://pypi.python.org/pypi/blohg;
-
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-KEYWORDS="~amd64 ~x86"
-if [[ ${PV} = ** ]]; then
-   SRC_URI=""
-   KEYWORDS=""
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="doc git +mercurial test"
-
-REQUIRED_USE="|| ( git mercurial )
-   test? ( git mercurial )"
-
-RDEPEND="
-   =dev-python/click-2.0
-   =dev-python/docutils-0.11*
-   >=dev-python/flask-0.10.1
-   >=dev-python/flask-babel-0.7
-   >=dev-python/frozen-flask-0.7
-   >=dev-python/jinja-2.5.2
-   dev-python/pyyaml
-   dev-python/setuptools
-   dev-python/pygments
-   git? ( =dev-python/pygit2-0.20* )
-   mercurial? ( >=dev-vcs/mercurial-1.6 )"
-
-DEPEND="${RDEPEND}
-   doc? ( dev-python/sphinx )
-   test? ( dev-python/mock )"
-
-python_prepare_all() {
-   if ! use git; then
-   rm -rf blohg/vcs_backends/git || die 'rm failed'
-   fi
-
-   if ! use mercurial; then
-   rm -rf blohg/vcs_backends/hg || die 'rm failed'
-   fi
-
-   distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-   use doc && emake -C docs html
-}
-
-python_install_all() {
-   use doc && HTML_DOCS=( docs/_build/html/. )
-   distutils-r1_python_install_all
-}
-
-python_test() {
-   esetup.py test
-}
-
-pkg_postinst() {
-   local ver="${PV}"
-   [[ ${PV} = ** ]] && ver="latest"
-
-   elog "You may want to check the upgrade notes:"
-   elog "http://docs.blohg.org/en/${ver}/upgrade/;
-}



[gentoo-commits] repo/gentoo:master commit in: www-apps/blohg/

2016-09-20 Thread Patrice Clement
commit: 6292c9185db8836a69be682b87836b203a7f03d0
Author: Patrice Clement  gentoo  org>
AuthorDate: Tue Sep 20 07:43:50 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Sep 20 07:44:44 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6292c918

www-apps/blohg: remove hard dependency on click-2.0.

Package-Manager: portage-2.2.28
RepoMan-Options: --force

 www-apps/blohg/blohg-0.13-r1.ebuild | 83 +
 1 file changed, 83 insertions(+)

diff --git a/www-apps/blohg/blohg-0.13-r1.ebuild 
b/www-apps/blohg/blohg-0.13-r1.ebuild
new file mode 100644
index ..fadd4d5
--- /dev/null
+++ b/www-apps/blohg/blohg-0.13-r1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+GIT_ECLASS=""
+if [[ ${PV} = ** ]]; then
+   GIT_ECLASS="git-r3"
+   EGIT_REPO_URI="git://github.com/rafaelmartins/blohg.git
+   https://github.com/rafaelmartins/blohg;
+fi
+
+inherit distutils-r1 ${GIT_ECLASS}
+
+DESCRIPTION="A Mercurial (or Git) based blogging engine"
+HOMEPAGE="http://blohg.org/ https://pypi.python.org/pypi/blohg;
+
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+if [[ ${PV} = ** ]]; then
+   SRC_URI=""
+   KEYWORDS=""
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="doc git +mercurial test"
+
+REQUIRED_USE="|| ( git mercurial )
+   test? ( git mercurial )"
+
+RDEPEND="
+   >=dev-python/click-2.0
+   =dev-python/docutils-0.11*
+   >=dev-python/flask-0.10.1
+   >=dev-python/flask-babel-0.7
+   >=dev-python/frozen-flask-0.7
+   >=dev-python/jinja-2.5.2
+   dev-python/pyyaml
+   dev-python/setuptools
+   dev-python/pygments
+   git? ( =dev-python/pygit2-0.20* )
+   mercurial? ( >=dev-vcs/mercurial-1.6 )"
+
+DEPEND="${RDEPEND}
+   doc? ( dev-python/sphinx )
+   test? ( dev-python/mock )"
+
+python_prepare_all() {
+   if ! use git; then
+   rm -rf blohg/vcs_backends/git || die 'rm failed'
+   fi
+
+   if ! use mercurial; then
+   rm -rf blohg/vcs_backends/hg || die 'rm failed'
+   fi
+
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   use doc && emake -C docs html
+}
+
+python_install_all() {
+   use doc && HTML_DOCS=( docs/_build/html/. )
+   distutils-r1_python_install_all
+}
+
+python_test() {
+   esetup.py test
+}
+
+pkg_postinst() {
+   local ver="${PV}"
+   [[ ${PV} = ** ]] && ver="latest"
+
+   elog "You may want to check the upgrade notes:"
+   elog "http://docs.blohg.org/en/${ver}/upgrade/;
+}