public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/python-spidermonkey/, dev-python/python-spidermonkey/files/
@ 2016-04-06 21:38 Austin English
  0 siblings, 0 replies; only message in thread
From: Austin English @ 2016-04-06 21:38 UTC (permalink / raw
  To: gentoo-commits

commit:     0fe947962912fa7047d766557fe1f19ff09caed0
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  6 21:36:28 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed Apr  6 21:38:18 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fe94796

dev-python/python-spidermonkey: add python-spidermonkey-0.0.10

Package-Manager: portage-2.2.26

 dev-python/python-spidermonkey/Manifest            |  1 +
 .../files/python-spidermonkey-0.0.10-tests.patch   | 12 +++++++++
 dev-python/python-spidermonkey/metadata.xml        | 15 +++++++++++
 .../python-spidermonkey-0.0.10.ebuild              | 29 ++++++++++++++++++++++
 4 files changed, 57 insertions(+)

diff --git a/dev-python/python-spidermonkey/Manifest b/dev-python/python-spidermonkey/Manifest
new file mode 100644
index 0000000..de5bc20
--- /dev/null
+++ b/dev-python/python-spidermonkey/Manifest
@@ -0,0 +1 @@
+DIST python-spidermonkey-0.0.10.tar.gz 787526 SHA256 5409546a68b794a398f8598eddfeb4274559376c54c84c8b752798391712d889 SHA512 e3d45ba2e747f8f382e273962f8015be8e736cbd49246864d894d7db1d436c9e14c5e945f4bd3cf3a7aca8d4f60d0f57855704c5d2cac94630df26e67898f591 WHIRLPOOL 5d6be4f176450005a8cd14cbe9fcebbc38f0750e6366e6860471b0d2f0ece91e75c5d14840f99080b8b49c413b71588edbef11605aea0b0dab4b5eecfbe130dd

diff --git a/dev-python/python-spidermonkey/files/python-spidermonkey-0.0.10-tests.patch b/dev-python/python-spidermonkey/files/python-spidermonkey-0.0.10-tests.patch
new file mode 100644
index 0000000..fca5fdd
--- /dev/null
+++ b/dev-python/python-spidermonkey/files/python-spidermonkey-0.0.10-tests.patch
@@ -0,0 +1,12 @@
+diff --git a/tests/test-syntax-error.py b/tests/test-syntax-error.py
+index ab14deb..78fc0ed 100644
+--- a/tests/test-syntax-error.py
++++ b/tests/test-syntax-error.py
+@@ -9,7 +9,3 @@ import traceback
+ def test_syntax_error(cx):
+     t.raises(t.JSError, cx.execute, "function(asdf;")
+ 
+-@t.cx()
+-def test_invalid_octal(cx):
+-    t.raises(t.JSError, cx.execute, "09;")
+-

diff --git a/dev-python/python-spidermonkey/metadata.xml b/dev-python/python-spidermonkey/metadata.xml
new file mode 100644
index 0000000..0307a17
--- /dev/null
+++ b/dev-python/python-spidermonkey/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>wizardedit@gentoo.org</email>
+    <name>Austin English</name>
+  </maintainer>
+  <longdescription>
+  JavaScript / Python bridge
+  </longdescription>
+  <upstream>
+    <remote-id type="pypi">python-spidermonkey</remote-id>
+	<remote-id type="github">davisp/python-spidermonkey</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/dev-python/python-spidermonkey/python-spidermonkey-0.0.10.ebuild b/dev-python/python-spidermonkey/python-spidermonkey-0.0.10.ebuild
new file mode 100644
index 0000000..42b640c
--- /dev/null
+++ b/dev-python/python-spidermonkey/python-spidermonkey-0.0.10.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=(python2_7)
+inherit distutils-r1
+
+DESCRIPTION="JavaScript / Python bridge"
+HOMEPAGE="http://github.com/davisp/python-spidermonkey"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="${CDEPEND}
+		dev-libs/nspr
+		>=dev-python/nose-0.10.0[${PYTHON_USEDEP}]"
+RDEPEND="${CDEPEND}"
+
+PATCHES=("${FILESDIR}"/${P}-tests.patch)
+
+python_test() {
+	esetup.py test
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-06 21:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-06 21:38 [gentoo-commits] repo/gentoo:master commit in: dev-python/python-spidermonkey/, dev-python/python-spidermonkey/files/ Austin English

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox