Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] printrun: add python-numpy dependency
@ 2020-05-03 14:23 ryanmjacobs
  2020-05-03 14:41 ` [PR PATCH] [Updated] " ryanmjacobs
  2020-05-05 19:00 ` [PR PATCH] [Merged]: " Hoshpak
  0 siblings, 2 replies; 3+ messages in thread
From: ryanmjacobs @ 2020-05-03 14:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 399 bytes --]

There is a new pull request by ryanmjacobs against master on the void-packages repository

https://github.com/ryanmjacobs/void-packages printrun
https://github.com/void-linux/void-packages/pull/21584

printrun: add python-numpy dependency
`plater` would not start without Python 2.7 `numpy` being installed.

A patch file from https://github.com/void-linux/void-packages/pull/21584.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-printrun-21584.patch --]
[-- Type: text/x-diff, Size: 859 bytes --]

From b367c05a8114fb3bfae9f21caec9cd86eda8530e Mon Sep 17 00:00:00 2001
From: Ryan Jacobs <ryan@rmj.us>
Date: Sun, 3 May 2020 07:21:43 -0700
Subject: [PATCH] printrun: add python-numpy dependency

---
 srcpkgs/printrun/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/printrun/template b/srcpkgs/printrun/template
index b901838d071..a1c886f3192 100644
--- a/srcpkgs/printrun/template
+++ b/srcpkgs/printrun/template
@@ -7,7 +7,7 @@ wrksrc="Printrun-printrun-${version}"
 build_style=python2-module
 pycompile_module="printrun"
 hostmakedepends="python-setuptools python-pyserial"
-depends="python wxPython python-pyserial python-pyglet"
+depends="python wxPython python-pyserial python-pyglet python-numpy"
 short_desc="3D printing host suite"
 maintainer="Jasper Chan <jasperchan515@gmail.com>"
 license="GPL-3.0-or-later"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Updated] printrun: add python-numpy dependency
  2020-05-03 14:23 [PR PATCH] printrun: add python-numpy dependency ryanmjacobs
@ 2020-05-03 14:41 ` ryanmjacobs
  2020-05-05 19:00 ` [PR PATCH] [Merged]: " Hoshpak
  1 sibling, 0 replies; 3+ messages in thread
From: ryanmjacobs @ 2020-05-03 14:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 984 bytes --]

There is an updated pull request by ryanmjacobs against master on the void-packages repository

https://github.com/ryanmjacobs/void-packages printrun
https://github.com/void-linux/void-packages/pull/21584

printrun: add python-numpy dependency
`plater` would not start without Python 2.7 `numpy` being installed.

```
ryan@void ~ $ plater
/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets
  warnings.warn("wxPython/wxWidgets release number mismatch")
Traceback (most recent call last):
  File "/bin/plater", line 23, in <module>
    from printrun.stlplater import StlPlater
  File "/usr/lib/python2.7/site-packages/printrun/stlplater.py", line 36, in <module>
    from printrun import stltool
  File "/usr/lib/python2.7/site-packages/printrun/stltool.py", line 23, in <module>
    import numpy
ImportError: No module named numpy
```

A patch file from https://github.com/void-linux/void-packages/pull/21584.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-printrun-21584.patch --]
[-- Type: text/x-diff, Size: 970 bytes --]

From 3c676012c00e2e10a658c717d15e140c78e76aa0 Mon Sep 17 00:00:00 2001
From: Ryan Jacobs <ryan@rmj.us>
Date: Sun, 3 May 2020 07:21:43 -0700
Subject: [PATCH] printrun: add python-numpy dependency

---
 srcpkgs/printrun/template | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/printrun/template b/srcpkgs/printrun/template
index b901838d071..3784d97eaa4 100644
--- a/srcpkgs/printrun/template
+++ b/srcpkgs/printrun/template
@@ -1,13 +1,12 @@
 # Template file for 'printrun'
 pkgname=printrun
 version=1.6.0
-revision=2
+revision=3
 archs=noarch
 wrksrc="Printrun-printrun-${version}"
 build_style=python2-module
-pycompile_module="printrun"
 hostmakedepends="python-setuptools python-pyserial"
-depends="python wxPython python-pyserial python-pyglet"
+depends="python wxPython python-pyserial python-pyglet python-numpy"
 short_desc="3D printing host suite"
 maintainer="Jasper Chan <jasperchan515@gmail.com>"
 license="GPL-3.0-or-later"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Merged]: printrun: add python-numpy dependency
  2020-05-03 14:23 [PR PATCH] printrun: add python-numpy dependency ryanmjacobs
  2020-05-03 14:41 ` [PR PATCH] [Updated] " ryanmjacobs
@ 2020-05-05 19:00 ` Hoshpak
  1 sibling, 0 replies; 3+ messages in thread
From: Hoshpak @ 2020-05-05 19:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 819 bytes --]

There's a merged pull request on the void-packages repository

printrun: add python-numpy dependency
https://github.com/void-linux/void-packages/pull/21584

Description:
`plater` would not start without Python 2.7 `numpy` being installed.

```
ryan@void ~ $ plater
/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets
  warnings.warn("wxPython/wxWidgets release number mismatch")
Traceback (most recent call last):
  File "/bin/plater", line 23, in <module>
    from printrun.stlplater import StlPlater
  File "/usr/lib/python2.7/site-packages/printrun/stlplater.py", line 36, in <module>
    from printrun import stltool
  File "/usr/lib/python2.7/site-packages/printrun/stltool.py", line 23, in <module>
    import numpy
ImportError: No module named numpy
```

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-05 19:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-03 14:23 [PR PATCH] printrun: add python-numpy dependency ryanmjacobs
2020-05-03 14:41 ` [PR PATCH] [Updated] " ryanmjacobs
2020-05-05 19:00 ` [PR PATCH] [Merged]: " Hoshpak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).