diff options
author | Erich Eckner <git@eckner.net> | 2020-08-31 14:30:56 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-08-31 14:30:56 +0200 |
commit | b6969a75522c5c4b789d2ae6ef9c810f565b00b2 (patch) | |
tree | 63a2ba60bf88f8891bc637eb28140588f35e8b39 | |
parent | 4e6cd6e02c7583142e435a10c2dcff760de47a59 (diff) | |
download | archlinuxewe.git.save-b6969a75522c5c4b789d2ae6ef9c810f565b00b2.tar.xz |
deleted: xraylarch
it builds, but is fundamentally broken:
larch> print(1)
None
Traceback (most recent calls last):
print(1)
^^^
File <stdin>, line 1
NotImplementedError: 'Constant' not supported
There are too many problems to solve:
1. `setup.py install` ignores --root at most places
2. even when run as root and directly installing to /, the above error applies, e.g. the following gives a broken installation:
python setup.py build
python setup.py check
sudo python setup.py install --skip-build --prefix=/usr
It seems, nowadays, the only valid method to install anything is through `pip install` and friends.
-rwxr-xr-x | xraylarch/PKGBUILD | 100 | ||||
-rw-r--r-- | xraylarch/remove-icons.patch | 14 |
2 files changed, 0 insertions, 114 deletions
diff --git a/xraylarch/PKGBUILD b/xraylarch/PKGBUILD deleted file mode 100755 index 9695d17d..00000000 --- a/xraylarch/PKGBUILD +++ /dev/null @@ -1,100 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -pkgname=xraylarch -pkgver=0.9.47 -pkgrel=10 -pkgdesc="Data Analysis Tools for X-ray Spectroscopy" -arch=('i686' 'pentium4' 'x86_64') -url="http://xraypy.github.io/xraylarch/" -license=('BSD') -groups=() -_pinned_dependencies=( - 'gcc-libs=10.2.0' - 'glibc>=2.31' - 'libgfortran.so=5' -) -depends=( - 'openimageio' - 'python>=3.8' - 'python<3.9' - 'python-asteval>=0.9.12' - 'python-certifi' - 'python-h5py>=2.4' - 'python-lmfit>=0.9.11' - 'python-matplotlib>=2.0' - 'python-nose' - 'python-numpy>=1.10' - 'python-peakutils>=1.0.0' - 'python-pillow>=3.4' - 'python-pip' - 'python-psutil' - 'python-pycifrw' - 'python-pyepics>=3.2.4' - 'python-pyfai>=0.12.0' - 'python-pyaml' - 'python-pyshortcuts' - 'python-pytest' - 'python-requests>=2.1' - 'python-scikit-image' - 'python-scikit-learn>=0.18' - 'python-scipy>=0.17' - 'python-silx' - 'python-six>=1.10' - 'python-sqlalchemy>=1.1.5' - 'python-termcolor' - 'python-uncertainties>=3.0' - 'python-wxpython>=2.8.12' - 'python-wxutils' - 'python-wxmplot' - "${_pinned_dependencies[@]}" -) -makedepends=() -checkdepends=() -optdepends=( - 'python-CifFile: needed for xrd modules' - 'python-epics: needed for using the EPICS control system' - 'python-fabio: needed for xrd modules' - 'python-nose: needed for testing tools' - 'python-pyFAI: needed for xrd modules' - 'python-xrayutilities: needed for xrd modules' - 'python-yaml: needed for graphics and plotting' -) -provides=() -conflicts=() -replaces=() -backup=() -options=() -source=( - "${pkgname}-${pkgver}.tar.gz::https://github.com/xraypy/${pkgname}/archive/${pkgver}.tar.gz" - 'remove-icons.patch' -) -sha512sums=('54d94a800c1ae7f23b3bcdccd7835d64fdeb525063a1d9a9780c43a922c3c6eacfa69eba00b4e42e27206292d742a9337d7f22fe6b2d8fe1d5a4a1345be52878' - '393a8ceee595b91a0fabb14e4054c701d02c42cca4359ed4b1ccb14a6364c60bf422928b1b9d71cbd1b65264218e6a29a5ca8ccbca5cd358438d4d3a2db87821') - -prepare() { - - cd "${pkgname}-${pkgver}" - patch -p1 -i "../remove-icons.patch" - -} - -build() { - - cd "${pkgname}-${pkgver}" - sed "s|DEBUG = False|DEBUG = True|" -i setup.py - python setup.py build - -} - -check() { - - cd "${pkgname}-${pkgver}" - python setup.py check - -} - -package() { - - cd "${pkgname}-${pkgver}" - python setup.py install --skip-build --root="${pkgdir}" --prefix=/usr - -} diff --git a/xraylarch/remove-icons.patch b/xraylarch/remove-icons.patch deleted file mode 100644 index 63bae251..00000000 --- a/xraylarch/remove-icons.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/setup.py 2019-06-26 09:33:08.364860066 +0200 -+++ b/setup.py 2019-06-26 09:35:48.971969563 +0200 -@@ -175,11 +175,6 @@ - 'Topic :: Scientific/Engineering'], - ) - --# create desktop icons --if INSTALL or DEVELOP: -- subprocess.check_call((pjoin(sys.exec_prefix, sys.executable), -- pjoin(sys.exec_prefix, bindir, larchbin), '-m')) -- - if len(missing) > 0: - dl = "#%s#" % ("="*75) - msg = """%s |