summaryrefslogtreecommitdiff
path: root/dev-python/vpython
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/vpython')
-rw-r--r--dev-python/vpython/Manifest1
-rw-r--r--dev-python/vpython/metadata.xml17
-rw-r--r--dev-python/vpython/vpython-7.4.6.ebuild20
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/vpython/Manifest b/dev-python/vpython/Manifest
new file mode 100644
index 000000000000..2d86b89eeee5
--- /dev/null
+++ b/dev-python/vpython/Manifest
@@ -0,0 +1 @@
+DIST vpython-7.4.6.tar.gz 3542460 BLAKE2B 358bd33f386b27ade92088af07fd5a73c1fccd5dbe729fe989f802b1db0eff38014bc38baf383324bb6299f53c68df8cfe9070a6d805303e0b50d4088af133ee SHA512 68591fc3bf71ae1b87e86a61574c46bb64a041ab29309ced64ef69c6d110e0fcd4f3d3adaab2ae76b21df9f66314095c4b3d79e6ebf1d60fa7725f85ae7a7b06
diff --git a/dev-python/vpython/metadata.xml b/dev-python/vpython/metadata.xml
new file mode 100644
index 000000000000..158d4ea76f87
--- /dev/null
+++ b/dev-python/vpython/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ This package enables one to run VPython in a browser,
+ using the GlowScript VPython API,
+ documented in the Help at http://glowscript.org.
+ If the code is in a cell in a Jupyter notebook,
+ the 3D scene appears in the Jupyter notebook.
+ If the code is launched outside a notebook (e.g. from the command line),
+ a browser window will open displaying the scene.
+ </longdescription>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/dev-python/vpython/vpython-7.4.6.ebuild b/dev-python/vpython/vpython-7.4.6.ebuild
new file mode 100644
index 000000000000..f04d979bc1b4
--- /dev/null
+++ b/dev-python/vpython/vpython-7.4.6.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_6 )
+inherit distutils-r1
+
+DESCRIPTION="VPython for Jupyter notebook"
+HOMEPAGE="http://www.vpython.org/ https://pypi.org/project/vpython/"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+DEPEND="dev-python/cython[${PYTHON_USEDEP}]
+ dev-python/versioneer[${PYTHON_USEDEP}]
+ dev-python/jupyter[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/autobahn[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND=""
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"