aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorĐoàn Trần Công Danh <congdanhqx@gmail.com>2022-09-06 02:34:10 +0000
committerĐoàn Trần Công Danh <congdanhqx@gmail.com>2022-09-06 10:43:20 +0000
commit8dbdd0699be3192234838d925f82266a9812d869 (patch)
tree4e43226e9abd70fca55c86f7cb8b6f0b07772ef1
parentf012cd3f6e18a7e952b99d23cda2346b3903b8ce (diff)
downloadvoid-packages-8dbdd0699be3192234838d925f82266a9812d869.tar
void-packages-8dbdd0699be3192234838d925f82266a9812d869.tar.gz
void-packages-8dbdd0699be3192234838d925f82266a9812d869.tar.bz2
void-packages-8dbdd0699be3192234838d925f82266a9812d869.tar.lz
void-packages-8dbdd0699be3192234838d925f82266a9812d869.tar.xz
void-packages-8dbdd0699be3192234838d925f82266a9812d869.tar.zst
void-packages-8dbdd0699be3192234838d925f82266a9812d869.zip
python3-vispy: move config to /etc
-rw-r--r--srcpkgs/python3-vispy/patches/etc.patch11
-rw-r--r--srcpkgs/python3-vispy/template3
2 files changed, 13 insertions, 1 deletions
diff --git a/srcpkgs/python3-vispy/patches/etc.patch b/srcpkgs/python3-vispy/patches/etc.patch
new file mode 100644
index 00000000000..45d197e0d71
--- /dev/null
+++ b/srcpkgs/python3-vispy/patches/etc.patch
@@ -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={
diff --git a/srcpkgs/python3-vispy/template b/srcpkgs/python3-vispy/template
index fbb06c91e0b..44dcdebcbcd 100644
--- a/srcpkgs/python3-vispy/template
+++ b/srcpkgs/python3-vispy/template
@@ -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