public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/js2py/
Date: Sun,  4 Dec 2022 09:12:57 +0000 (UTC)	[thread overview]
Message-ID: <1670145175.6be73230935771b6d5cc316d6258670bb47e8f5e.xgqt@gentoo> (raw)

commit:     6be73230935771b6d5cc316d6258670bb47e8f5e
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  4 07:14:23 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Dec  4 09:12:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6be73230

dev-python/js2py: bump to 0.74

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-python/js2py/Manifest          |  1 +
 dev-python/js2py/js2py-0.74.ebuild | 43 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/dev-python/js2py/Manifest b/dev-python/js2py/Manifest
index a4253bc70888..0976011c6290 100644
--- a/dev-python/js2py/Manifest
+++ b/dev-python/js2py/Manifest
@@ -1 +1,2 @@
 DIST Js2Py-0.71_p20210918.tar.gz 1970784 BLAKE2B 4ea446b306e858c2acb192a699b4c098cca1a334fd97246d3149186795a013fa1ff9cf45ecc5cd9bed241b13b3eb003ebf272f5af4ed24a608564fd4709e4ff1 SHA512 810363e4b0716e324e6deb5f373968c9c57e7ecf120710c064601ad46ca2f24bc8da52f779f861296dd506de06d664be86b3c0d72bcb811892fe4e6c22ad7a6d
+DIST Js2Py-0.74.tar.gz 2504984 BLAKE2B 1e4f34ad94947118aeaf84ff438f9bec5b2a8ca3c722d907d3b8015acfcaafe1f229cfe401ae0f3d07c0f074ecf2f9ca3aeb94ef9c394b7ed6d90f1279c1ffa2 SHA512 cb2f42c2bec0c15dadc301ee0a7ac452cc8c4bba4669e95f1155863590d6d00781883b54d4dab755a0f66eb6e30990fedca732494b1f8b6c07dc29f5203a8c8c

diff --git a/dev-python/js2py/js2py-0.74.ebuild b/dev-python/js2py/js2py-0.74.ebuild
new file mode 100644
index 000000000000..f29185793ec4
--- /dev/null
+++ b/dev-python/js2py/js2py-0.74.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN=Js2Py
+MY_P=${MY_PN}-${PV}
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="JavaScript to Python Translator & JavaScript interpreter in Python"
+HOMEPAGE="http://piter.io/projects/js2py/
+	https://github.com/PiotrDabkowski/Js2Py/
+	https://pypi.org/project/Js2Py/"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+
+RDEPEND="
+	>=dev-python/pyjsparser-2.5.1[${PYTHON_USEDEP}]
+	>=dev-python/tzlocal-1.2.0[${PYTHON_USEDEP}]
+	>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
+"
+
+python_test() {
+	pushd ./tests >/dev/null || die
+
+	# Tests require "node_failed.txt" file where the logs are kept
+	if [[ -f ./node_failed.txt ]] ; then
+		rm ./node_failed.txt || die
+	fi
+
+	touch ./node_failed.txt || die
+	"${EPYTHON}" ./run.py || die "tests failed with ${EPYTHON}"
+
+	popd >/dev/null || die
+}


             reply	other threads:[~2022-12-04  9:13 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-04  9:12 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-24 23:01 [gentoo-commits] repo/gentoo:master commit in: dev-python/js2py/ Maciej Barć
2023-03-04 16:32 Maciej Barć
2023-01-16  1:57 Maciej Barć
2023-01-06  2:10 Sam James
2023-01-06  0:45 Sam James
2023-01-06  0:45 Sam James
2022-07-15  7:24 Michał Górny
2022-07-15  0:45 Sam James
2022-07-14 21:22 Arthur Zamarin
2022-07-14 19:07 Arthur Zamarin
2022-06-13 17:06 Maciej Barć
2022-01-17  6:53 Joshua Kinard
2022-01-16 18:30 Arthur Zamarin
2022-01-16 18:30 Arthur Zamarin
2021-11-25  2:03 Maciej Barć
2021-10-17  8:58 Michał Górny
2021-08-09 22:19 Louis Sautier
2021-08-01 23:49 Sam James
2021-07-08  7:11 Sergei Trofimovich
2021-07-06 17:59 Sam James
2021-07-06 17:59 Sam James
2021-06-22  9:02 Joonas Niilola
2021-06-22  9:02 Joonas Niilola
2021-06-12  5:51 Sam James
2021-03-11 17:06 Sam James
2021-03-01  7:05 Joonas Niilola
2021-02-24  8:31 Joonas Niilola
2021-02-24  8:31 Joonas Niilola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1670145175.6be73230935771b6d5cc316d6258670bb47e8f5e.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox