public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pslab-python/
Date: Tue, 21 Apr 2020 15:53:06 +0000 (UTC)	[thread overview]
Message-ID: <1587484312.2e4d1f7f3e459026eefc17097d45e15c10868eb7.marecki@gentoo> (raw)

commit:     2e4d1f7f3e459026eefc17097d45e15c10868eb7
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 21 15:48:49 2020 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Apr 21 15:51:52 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e4d1f7f

dev-python/pslab-python: support python3_7

Also make better use of distutils-r1 and make Python dependencies
actually sane (no idea what I was on when I committed that).

Nb. having had a look at upstream CI this *should* work with 3.8 as
well, will have to add support for this version to dev-python/pyqtgraph
first though.

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 .../pslab-python/pslab-python-1.0.1-r1.ebuild      | 32 ++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/dev-python/pslab-python/pslab-python-1.0.1-r1.ebuild b/dev-python/pslab-python/pslab-python-1.0.1-r1.ebuild
new file mode 100644
index 00000000000..71659cc6f68
--- /dev/null
+++ b/dev-python/pslab-python/pslab-python-1.0.1-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python library for communicating with Pocket Science Lab"
+HOMEPAGE="https://pslab.io"
+SRC_URI="https://github.com/fossasia/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	$(python_gen_cond_dep '
+		dev-python/numpy[${PYTHON_USEDEP}]
+		dev-python/pyqtgraph[${PYTHON_USEDEP}]
+		dev-python/pyserial[${PYTHON_USEDEP}]
+		sci-libs/scipy[${PYTHON_USEDEP}]
+	')"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.0.1-sys_version.patch
+	"${FILESDIR}"/${PN}-1.0.1-no_install_udev_rules.patch
+)
+
+distutils_enable_sphinx docs


             reply	other threads:[~2020-04-21 15:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-21 15:53 Marek Szuba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-11-01 17:09 [gentoo-commits] repo/gentoo:master commit in: dev-python/pslab-python/ Michał Górny
2023-11-01 17:09 Michał Górny
2023-02-15 17:29 Michał Górny
2022-03-15 13:07 Jakov Smolić
2020-11-24 13:23 Marek Szuba
2020-05-16 11:18 Mikle Kolyada
2020-05-16 11:18 Mikle Kolyada
2020-04-24 23:11 Marek Szuba
2020-04-22 23:48 Marek Szuba
2020-03-20  8:59 Agostino Sarubbo

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=1587484312.2e4d1f7f3e459026eefc17097d45e15c10868eb7.marecki@gentoo \
    --to=marecki@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