From 8dbdd0699be3192234838d925f82266a9812d869 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 6 Sep 2022 09:34:10 +0700 Subject: [PATCH] python3-vispy: move config to /etc --- srcpkgs/python3-vispy/patches/etc.patch | 11 +++++++++++ srcpkgs/python3-vispy/template | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/python3-vispy/patches/etc.patch 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