Package Details: python-nptdms 1.4.0-1

Git Clone URL: https://aur.archlinux.org/python-nptdms.git (read-only, click to copy)
Package Base: python-nptdms
Description: Cross-platform, NumPy based module for reading TDMS files produced by LabView
Upstream URL: https://github.com/adamreeve/npTDMS
Licenses: LGPL3
Submitter: flocke
Maintainer: None
Last Packager: carlosal1015
Votes: 0
Popularity: 0.000000
First Submitted: 2016-04-12 07:16 (UTC)
Last Updated: 2022-03-20 16:37 (UTC)

Latest Comments

JanH commented on 2021-10-18 14:08 (UTC)

Updated PKGBUILD

# Maintainer: Jakob Nixdorf <flocke@shadowice.org>

pkgbase=python-nptdms
pkgname=('python-nptdms' 'python2-nptdms')
pkgver=1.3.1
pkgrel=1
pkgdesc="Cross-platform, NumPy based module for reading TDMS files produced by LabView."
arch=('any')
url="https://pypi.python.org/pypi/npTDMS"
license=('LGPL')
makedepends=('python-setuptools' 'python2-setuptools')
source=("https://files.pythonhosted.org/packages/57/7c/8107ed1975903f16d1dfab5472558839dd6247ee7ad885118e1390997788/npTDMS-${pkgver}.tar.gz")
sha256sums=('812a4f369abd3668ed90f2941926c19b0873f106a7993906acf18983318eff1e')

prepare() {
  cd "${srcdir}"

  cp -a "npTDMS-${pkgver}" "${pkgname[0]}"
  cp -a "npTDMS-${pkgver}" "${pkgname[1]}"
}

build() {
  cd "${srcdir}/${pkgname[0]}"
  python setup.py build

  cd "${srcdir}/${pkgname[1]}"
  python2 setup.py build
}

package_python-nptdms() {
  depends=('python-numpy')

  cd "${srcdir}/${pkgname[0]}"
  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
}

package_python2-nptdms() {
  depends=('python2-numpy')

  cd "${srcdir}/${pkgname[1]}"
  python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1

  # Rename so it doesn't conflict with the python-nptdms package
  mv "${pkgdir}/usr/bin/tdmsinfo" "${pkgdir}/usr/bin/tdmsinfo-python2"
}

donpicoro commented on 2020-04-30 14:27 (UTC)

I think this is the only change neede

-pkgver=0.14.0 +pkgver=0.25.1

-source=("https://files.pythonhosted.org/packages/6e/f7/cf5515f7b69e520c0c069545d64b24a0f2602189c7848bf94132774aabc1/n> -sha256sums=('96e060229d4de5034999147faa1b14c0af0b5acd8259ce43a473830307af1537') +source=("https://files.pythonhosted.org/packages/f4/99/99df3502bd8a5d389fac631688d74da618684348796ded1879bf4f209d89/n> +sha256sums=('ad612b076a3560f0e5e00b3eb2b60bcf6801fce8c065952bc40430444e3cc207')

;-)