python3-vispy: move config to /etc
This commit is contained in:
parent
f012cd3f6e
commit
8dbdd0699b
11
srcpkgs/python3-vispy/patches/etc.patch
Normal file
11
srcpkgs/python3-vispy/patches/etc.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -261,7 +261,7 @@ setup(
|
||||
'vispy/static/index.js',
|
||||
'vispy/static/index.js.map',
|
||||
]),
|
||||
- ('etc/jupyter/nbconfig/notebook.d', ['vispy.json']),
|
||||
+ ('/etc/jupyter/nbconfig/notebook.d', ['vispy.json']),
|
||||
],
|
||||
include_package_data=True,
|
||||
package_data={
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'python3-vispy'
|
||||
pkgname=python3-vispy
|
||||
version=0.6.1
|
||||
revision=5
|
||||
revision=6
|
||||
wrksrc="vispy-${version}"
|
||||
build_style=python3-module
|
||||
build_helper=numpy
|
||||
|
@ -14,6 +14,7 @@ license="BSD-3-Clause"
|
|||
homepage="http://vispy.org"
|
||||
distfiles="${PYPI_SITE}/v/vispy/vispy-${version}.tar.gz"
|
||||
checksum=8f4cf863a1c6142338d06cf3f824e75373dd45a4ce9a9a133e1c36b662f49aa1
|
||||
conf_files="/etc/jupyter/nbconfig/notebook.d/vispy.json"
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.txt
|
||||
|
|
Loading…
Reference in New Issue
Block a user