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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0FD26158043 for ; Sat, 20 Apr 2024 12:07:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D8B9E29F8; Sat, 20 Apr 2024 12:07:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 28012E29F8 for ; Sat, 20 Apr 2024 12:07:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2F9D5343398 for ; Sat, 20 Apr 2024 12:07:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BEFDC16F9 for ; Sat, 20 Apr 2024 12:07:00 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1713614807.96ee24a19f411ea77994dc2b38b87e229b078ec2.ceamac@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/roundup/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/roundup/Manifest www-apps/roundup/roundup-2.3.0.ebuild X-VCS-Directories: www-apps/roundup/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 96ee24a19f411ea77994dc2b38b87e229b078ec2 X-VCS-Branch: master Date: Sat, 20 Apr 2024 12:07:00 +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: 2d68e4d6-ca21-4f80-b24b-a372b42471cd X-Archives-Hash: a5be312251a89a8c92ccda394595f122 commit: 96ee24a19f411ea77994dc2b38b87e229b078ec2 Author: Viorel Munteanu gentoo org> AuthorDate: Sat Apr 20 12:05:55 2024 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Sat Apr 20 12:06:47 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96ee24a1 www-apps/roundup: add 2.3.0 Closes: https://bugs.gentoo.org/910044 Closes: https://bugs.gentoo.org/923584 Closes: https://bugs.gentoo.org/929875 Closes: https://bugs.gentoo.org/903697 Signed-off-by: Viorel Munteanu gentoo.org> www-apps/roundup/Manifest | 1 + www-apps/roundup/roundup-2.3.0.ebuild | 78 +++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/www-apps/roundup/Manifest b/www-apps/roundup/Manifest index d0fc2e60a971..8163a9198eaa 100644 --- a/www-apps/roundup/Manifest +++ b/www-apps/roundup/Manifest @@ -1 +1,2 @@ DIST roundup-2.2.0.tar.gz 3722236 BLAKE2B f9f36ff2a49c769dcce38dd59fd88825cb3a6560fbfc2a7bbf6d2abf1388bb328da5aa7de2934ae2469163bb4f125b4438b07f1eff9082458768012b4eda7687 SHA512 dbaf7c4a5e7fb75f0e401f39962c8f5a3b088036a0f2c9efb2910f3941df35df6c345c2051c37cbdcc9a2049d82d09bcb4e15b368f8c4c77fa4b4bf80c6dc844 +DIST roundup-2.3.0.tar.gz 3880745 BLAKE2B a6ed278352a91893cd5706b8e5c9fcbed76fc35364cb3709371187ba27b459efa4676ed8a342c937fcd2b637f21714379acdec21631e6c9012ab6a8bf3cebfcd SHA512 83c659ce8d268f4f7f16f10731371ed6320564635e2620e2502e600c4ddbcae92f5c46722a33c66aceef5a8af99f5c556bce5512f03b97ff0cfb88e8bafe7cb6 diff --git a/www-apps/roundup/roundup-2.3.0.ebuild b/www-apps/roundup/roundup-2.3.0.ebuild new file mode 100644 index 000000000000..e8fc8857ed1f --- /dev/null +++ b/www-apps/roundup/roundup-2.3.0.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10..12} ) + +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi + +DESCRIPTION="Issue-tracking system with command-line, web, and e-mail interfaces" +HOMEPAGE="https://roundup.sourceforge.io https://pypi.org/project/roundup/" + +LICENSE="MIT ZPL" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="+tz sqlite mysql postgres xapian whoosh ssl jinja pyjwt markdown test" + +RDEPEND=" + jinja? ( dev-python/jinja[${PYTHON_USEDEP}] ) + markdown? ( + || ( + dev-python/markdown[${PYTHON_USEDEP}] + dev-python/markdown2[${PYTHON_USEDEP}] + dev-python/mistune[${PYTHON_USEDEP}] + ) + ) + mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] ) + postgres? ( dev-python/psycopg:0[${PYTHON_USEDEP}] ) + pyjwt? ( dev-python/pyjwt[${PYTHON_USEDEP}] ) + sqlite? ( $(python_gen_impl_dep sqlite) ) + ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) + test? ( dev-python/mock[${PYTHON_USEDEP}] ) + tz? ( dev-python/pytz[${PYTHON_USEDEP}] ) + whoosh? ( >=dev-python/whoosh-2.5.7[${PYTHON_USEDEP}] ) + xapian? ( >=dev-libs/xapian-bindings-1.0.0[python,${PYTHON_USEDEP}] ) +" + +DOCS="CHANGES.txt doc/*.txt" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # tries to connect to non-running server + test/test_liveserver.py::TestPostgresWsgiServer + test/test_sqlite.py::sqliteSessionTest + test/test_sqlite.py::sqliteSpecialActionTestCase::testInnerMain + # automagic, assumes a postgresql server is available + test/test_config.py::TrackerConfig::testLoadSessionDbRedis + + # upstream issue: https://issues.roundup-tracker.org/issue2551335 + test/test_templating.py::Markdown2TestCase::test_markdown_hyperlinked_url + # upstream issue: https://issues.roundup-tracker.org/issue2551336 + test/test_templating.py::Markdown2TestCase::test_string_markdown_link_item +) + +python_install() { + distutils-r1_python_install + if [[ -d "${ED}"/usr/share ]]; then + rm -r "${D}$(python_get_sitedir)"/usr + else + mv "${D}$(python_get_sitedir)"/usr/share "${ED}"/usr/ || die + dodir /usr/share/doc/${PF} + mv "${ED}"/usr/share/doc/${PN}/html "${ED}"/usr/share/doc/${PF}/ || die + rmdir "${ED}"/usr/share/doc/${PN} || die + rmdir "${D}$(python_get_sitedir)"/usr || die + fi +} + +python_install_all() { + distutils-r1_python_install_all + + find "${ED}"/usr/share/roundup -name __pycache__ -type d -exec rm -r {} + +} + +pkg_postinst() { + ewarn "See installation.txt for initialisation instructions." + ewarn "See upgrading.txt for upgrading instructions." +}