forked from M-Labs/artiq
windows: package pyqtgraph
This commit is contained in:
parent
dfb2908d09
commit
64b56077cd
|
@ -363,6 +363,7 @@
|
||||||
|
|
||||||
hydraJobs = {
|
hydraJobs = {
|
||||||
inherit (packages.x86_64-linux) artiq artiq-board-kc705-nist_clock openocd-bscanspi;
|
inherit (packages.x86_64-linux) artiq artiq-board-kc705-nist_clock openocd-bscanspi;
|
||||||
|
pyqtgraph-msys2-pkg = packages.x86_64-w64-mingw32.pyqtgraph-pkg;
|
||||||
sipyco-msys2-pkg = packages.x86_64-w64-mingw32.sipyco-pkg;
|
sipyco-msys2-pkg = packages.x86_64-w64-mingw32.sipyco-pkg;
|
||||||
artiq-comtools-msys2-pkg = packages.x86_64-w64-mingw32.artiq-comtools-pkg;
|
artiq-comtools-msys2-pkg = packages.x86_64-w64-mingw32.artiq-comtools-pkg;
|
||||||
artiq-msys2-pkg = packages.x86_64-w64-mingw32.artiq-pkg;
|
artiq-msys2-pkg = packages.x86_64-w64-mingw32.artiq-pkg;
|
||||||
|
|
|
@ -8,7 +8,7 @@ depends=(
|
||||||
"mingw-w64-x86_64-python-h5py"
|
"mingw-w64-x86_64-python-h5py"
|
||||||
"mingw-w64-x86_64-python-pyqt5"
|
"mingw-w64-x86_64-python-pyqt5"
|
||||||
# TODO "mingw-w64-x86_64-python-qasync"
|
# TODO "mingw-w64-x86_64-python-qasync"
|
||||||
# TODO "mingw-w64-x86_64-python-pyqtgraph"
|
"mingw-w64-x86_64-python-pyqtgraph"
|
||||||
"mingw-w64-x86_64-python-numpy"
|
"mingw-w64-x86_64-python-numpy"
|
||||||
"mingw-w64-x86_64-python-scipy"
|
"mingw-w64-x86_64-python-scipy"
|
||||||
"mingw-w64-x86_64-python-dateutil"
|
"mingw-w64-x86_64-python-dateutil"
|
||||||
|
|
|
@ -12,7 +12,7 @@ build() {
|
||||||
cd source
|
cd source
|
||||||
wine-msys2-build python setup.py install --prefix=../mingw64
|
wine-msys2-build python setup.py install --prefix=../mingw64
|
||||||
cd ..
|
cd ..
|
||||||
rm mingw64/lib/python3.9/site-packages/easy-install.pth
|
rm -f mingw64/lib/python3.9/site-packages/easy-install.pth
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
pkgbase="mingw-w64-python-pyqtgraph"
|
||||||
|
pkgname="mingw-w64-x86_64-python-pyqtgraph"
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Fast data visualization and GUI tools for scientific / engineering applications"
|
||||||
|
license=("MIT")
|
||||||
|
depends=(
|
||||||
|
"mingw-w64-x86_64-python"
|
||||||
|
"mingw-w64-x86_64-python-pyqt5"
|
||||||
|
)
|
||||||
|
|
||||||
|
source PKGBUILD.common
|
|
@ -28,6 +28,11 @@ let
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
in rec {
|
in rec {
|
||||||
|
pyqtgraph-pkg = makeMsys2 {
|
||||||
|
name = "pyqtgraph";
|
||||||
|
src = pkgs.python3Packages.pyqtgraph.src;
|
||||||
|
inherit (pkgs.python3Packages.pyqtgraph) version;
|
||||||
|
};
|
||||||
sipyco-pkg = makeMsys2 {
|
sipyco-pkg = makeMsys2 {
|
||||||
name = "sipyco";
|
name = "sipyco";
|
||||||
src = sipyco;
|
src = sipyco;
|
||||||
|
@ -51,6 +56,7 @@ in rec {
|
||||||
''
|
''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
cd $out
|
cd $out
|
||||||
|
ln -s ${pyqtgraph-pkg}/*.pkg.tar.zst .
|
||||||
ln -s ${sipyco-pkg}/*.pkg.tar.zst .
|
ln -s ${sipyco-pkg}/*.pkg.tar.zst .
|
||||||
ln -s ${artiq-comtools-pkg}/*.pkg.tar.zst .
|
ln -s ${artiq-comtools-pkg}/*.pkg.tar.zst .
|
||||||
ln -s ${nac3.packages.x86_64-w64-mingw32.nac3artiq-pkg}/*.pkg.tar.zst .
|
ln -s ${nac3.packages.x86_64-w64-mingw32.nac3artiq-pkg}/*.pkg.tar.zst .
|
||||||
|
|
Loading…
Reference in New Issue