public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nbdime/
Date: Mon,  2 Jan 2017 22:09:30 +0000 (UTC)	[thread overview]
Message-ID: <1483394965.f9daab8b0dff06d345f733e8d5550c7d3853b1c8.jlec@gentoo> (raw)

commit:     f9daab8b0dff06d345f733e8d5550c7d3853b1c8
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Jan  2 11:04:12 2017 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Jan  2 22:09:25 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9daab8b

dev-python/nbdime: New package.

nbdime provides tools for diffing and merging of Jupyter Notebooks.
Beside console based diffing and merging tools, web-based diffing
and merging tools are provided (requiring npm).

The ebuild is based on the live ebuild in the science overlay,
https://github.com/gentoo-science/sci, which was added by me to
the overlay.

Gentoo-Bug: https://bugs.gentoo.org/604372

Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/3301

 dev-python/nbdime/Manifest            |  1 +
 dev-python/nbdime/metadata.xml        | 24 +++++++++++++++
 dev-python/nbdime/nbdime-0.1.0.ebuild | 55 +++++++++++++++++++++++++++++++++++
 3 files changed, 80 insertions(+)

diff --git a/dev-python/nbdime/Manifest b/dev-python/nbdime/Manifest
new file mode 100644
index 00000000..40dcd99
--- /dev/null
+++ b/dev-python/nbdime/Manifest
@@ -0,0 +1 @@
+DIST nbdime-0.1.0.tar.gz 3849944 SHA256 5af53ccf5b265546e61fbc096c4dd8122855b2aa02f8b60a99eeee01a8e33043 SHA512 e110e2e3e8b9bfbaafd26e6558ec863eb0a23f3b7a67482e497c4883fa2151ae058582b975aca90392bd2314f5e32ce3e7316db9c2c37e44c336a9fcf88176c8 WHIRLPOOL 074060d867b259b461514e84b21c0f7eb20ff2f787055e03971fd18d0aa1ba56596b15017354c5becd3f1022b5557ec740d4815d4f820af8b54349273ee8b9a4

diff --git a/dev-python/nbdime/metadata.xml b/dev-python/nbdime/metadata.xml
new file mode 100644
index 00000000..b2a229d
--- /dev/null
+++ b/dev-python/nbdime/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>marbre@linux.sungazer.de</email>
+    <name>Marius Brehler</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>sci@gentoo.org</email>
+    <name>Gentoo Science Project</name>
+  </maintainer>
+  <longdescription>
+    nbdime provides tools for diffing and merging of Jupyter Notebooks.
+  </longdescription>
+  <upstream>
+    <remote-id type="github">jupyter/nbdime</remote-id>
+    <remote-id type="pypi">nbdime</remote-id>
+  </upstream>
+  <use>
+    <flag name="webtools">
+      Install web-based diff and merge tools.
+    </flag>
+</use>
+</pkgmetadata>

diff --git a/dev-python/nbdime/nbdime-0.1.0.ebuild b/dev-python/nbdime/nbdime-0.1.0.ebuild
new file mode 100644
index 00000000..718527d
--- /dev/null
+++ b/dev-python/nbdime/nbdime-0.1.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Diff and merge of Jupyter Notebooks"
+HOMEPAGE="http://jupyter.org"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+KEYWORDS="~amd64"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test webtools"
+
+RDEPEND="
+	dev-python/nbformat[${PYTHON_USEDEP}]
+	dev-python/six[${PYTHON_USEDEP}]
+	dev-python/colorama[${PYTHON_USEDEP}]
+	dev-python/requests[${PYTHON_USEDEP}]
+	www-servers/tornado[${PYTHON_USEDEP}]
+	webtools? ( net-libs/nodejs[npm] )
+	"
+DEPEND="${RDEPEND}
+	test? (
+		dev-python/pytest[${PYTHON_USEDEP}]
+		dev-python/pytest-cov[${PYTHON_USEDEP}]
+		dev-python/pytest-timeout[${PYTHON_USEDEP}]
+		dev-python/jsonschema[${PYTHON_USEDEP}]
+		dev-python/mock[${PYTHON_USEDEP}]
+		dev-python/requests[${PYTHON_USEDEP}]
+	)
+	"
+# The package recommonmark is required to build the docs, not in portage yet.
+# Furthermore, backports.shutil_which is required for python2_7.
+
+python_configure_all() {
+	if ! use webtools; then
+		mydistutilsargs=( --skip-npm )
+	fi
+}
+
+python_test() {
+	# user.email and user.name are not configured in the sandbox.
+	git config --global user.email "you@example.com" || die
+	git config --global user.name "Your Name" || die
+
+	distutils_install_for_testing
+
+	py.test -l || die
+}


             reply	other threads:[~2017-01-02 22:09 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-02 22:09 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-02-04 21:30 [gentoo-commits] repo/gentoo:master commit in: dev-python/nbdime/ David Seifert
2017-03-09 20:44 David Seifert
2017-03-09 20:44 David Seifert
2018-06-24 15:24 Pacho Ramos
2019-03-10 22:38 Patrice Clement
2019-12-13 20:45 David Seifert
2020-09-02  9:12 Michał Górny
2020-09-02  9:12 Michał Górny
2020-09-05  6:08 Michał Górny
2020-09-05  7:24 Michał Górny
2021-06-10  9:58 Andrew Ammerlaan
2021-11-28 14:18 Andrew Ammerlaan
2022-03-24  8:39 Andrew Ammerlaan
2022-06-12 14:52 Sam James
2022-06-16  8:06 Michał Górny
2022-10-27 11:30 Andrew Ammerlaan
2023-03-10 19:23 Michał Górny
2023-03-10 19:23 Michał Górny
2023-03-11  6:37 Yixun Lan
2023-03-17  5:32 Michał Górny
2023-04-14  4:05 Sam James
2023-04-14  4:19 Sam James
2023-04-14 20:07 Sam James
2023-04-14 20:25 Sam James
2023-04-14 20:43 Sam James
2023-04-14 21:02 Sam James
2023-04-14 22:30 Sam James
2023-04-16 12:11 WANG Xuerui
2023-04-22 16:44 Arthur Zamarin
2023-04-22 19:44 Sam James
2023-04-23  9:44 Jakov Smolić
2023-04-23  9:44 Jakov Smolić
2023-04-23 19:30 Michał Górny
2023-04-23 22:12 Sam James
2023-05-01  4:31 Michał Górny
2023-05-01  7:16 Arthur Zamarin
2023-05-01  7:16 Arthur Zamarin
2023-05-06  9:58 Arthur Zamarin
2023-06-27  5:19 Jakov Smolić
2023-06-27 12:01 Michał Górny
2023-10-15 15:46 Michał Górny
2023-11-21 19:05 Michał Górny
2023-12-09 14:04 Michał Górny
2023-12-09 14:05 Michał Górny
2024-09-06  9:25 Michał Górny
2024-09-21 11:08 Arthur Zamarin
2024-09-21 12:02 Michał Górny
2025-01-02 11:02 Nowa Ammerlaan

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=1483394965.f9daab8b0dff06d345f733e8d5550c7d3853b1c8.jlec@gentoo \
    --to=jlec@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