python3-vispy: move config to /etc

This commit is contained in:
Đoàn Trần Công Danh 2022-09-06 09:34:10 +07:00
parent f012cd3f6e
commit 8dbdd0699b
2 changed files with 13 additions and 1 deletions

View 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={

View File

@ -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