From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7E5D5138334 for ; Sun, 19 May 2019 21:54:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D870E084A; Sun, 19 May 2019 21:54:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5CD2DE084A for ; Sun, 19 May 2019 21:54:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 97E27344B08 for ; Sun, 19 May 2019 21:54:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 49143566 for ; Sun, 19 May 2019 21:54:40 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1558302854.e1becde63b884e135156ca485f94b1adb0adefac.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/pelican/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/pelican/Manifest app-text/pelican/pelican-4.0.1.ebuild X-VCS-Directories: app-text/pelican/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: e1becde63b884e135156ca485f94b1adb0adefac X-VCS-Branch: master Date: Sun, 19 May 2019 21:54:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a4e3890d-08ce-4300-a75f-a0a028b5a9b1 X-Archives-Hash: 294a5b2dafc8312d083edbd808e2e811 commit: e1becde63b884e135156ca485f94b1adb0adefac Author: Sebastian Pipping gentoo org> AuthorDate: Sun May 19 21:52:30 2019 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Sun May 19 21:54:14 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1becde6 app-text/pelican: 4.0.1 + EAPI 7 Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-2.3.65, Repoman-2.3.12 app-text/pelican/Manifest | 1 + app-text/pelican/pelican-4.0.1.ebuild | 54 +++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/app-text/pelican/Manifest b/app-text/pelican/Manifest index 9e5e2f841e2..ce3e3778391 100644 --- a/app-text/pelican/Manifest +++ b/app-text/pelican/Manifest @@ -1,2 +1,3 @@ DIST pelican-3.7.1.tar.gz 784605 BLAKE2B 42adef016f54a931e4fef225af9a4c5c880b66c96660c2a34137a425f879688822ddc8bbc19805444bf2b49369c3dccf8a5303748ff9e7cbde3910d6ba501652 SHA512 9e04e6a2009cc134f74410d8c8349831467192e7524287e23cad0b68232f2b5dd04f5d98505222d71eb3441e466bccec1cafc7f6e3c6bfcb4c5e57e4ab0fadda DIST pelican-4.0.0.tar.gz 1314626 BLAKE2B 18924209949b43063416f2e2c6e22a5524a36bab79a801f7cc6953c0822beb1bd5b05e715f5bcdb7c4877aba8d7a62cf4276e8abc43406f3c6fd7af8ef0c7c2f SHA512 5d98f5e13e6dde6b27cc299f9fb166edec79efb3fc53b29567218e0d0ba164989ce51830029ec8359697bc039661f6b0ced8d4155105e29098c038840c97d253 +DIST pelican-4.0.1.tar.gz 1314716 BLAKE2B 1fbe01f5df7f1c730d7a45429369311f77c7e8e278a05cc037e03d8193dc2ae9075ee1346fea072a08ee5d73baf9aaed8c1f8f210fd4331754accca9ebffa4da SHA512 26f91046124bb92de6fa31d17ab89f743cf9408c15b9b259875e2378342133313368418da083d1d4abc5de0537806a9dede327719c8fcf89d135805c47618a4a diff --git a/app-text/pelican/pelican-4.0.1.ebuild b/app-text/pelican/pelican-4.0.1.ebuild new file mode 100644 index 00000000000..c165da40c9a --- /dev/null +++ b/app-text/pelican/pelican-4.0.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{2_7,3_5,3_6} ) + +inherit distutils-r1 + +DESCRIPTION="A tool to generate a static blog, with restructured text or markdown input files" +HOMEPAGE="https://blog.getpelican.com/ https://pypi.org/project/pelican/" +SRC_URI="https://github.com/getpelican/pelican/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples markdown test" + +DEPEND=">=dev-python/feedgenerator-1.9[${PYTHON_USEDEP}] + >=dev-python/jinja-2.7[${PYTHON_USEDEP}] + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/unidecode[${PYTHON_USEDEP}] + dev-python/blinker[${PYTHON_USEDEP}] + >=dev-python/six-1.4[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + markdown? ( dev-python/markdown[${PYTHON_USEDEP}] ) + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] + )" +RDEPEND="" +RESTRICT="test" + +DOCS=( README.rst ) + +python_compile_all() { + use doc && emake -C docs html +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + if use examples; then + insinto "/usr/share/doc/${PF}" + docompress -x "/usr/share/doc/${PF}/samples" + doins -r samples + fi + distutils-r1_python_install_all +} + +python_test() { + nosetests || die "Testing failed with ${EPYTHON}" +}