You are not logged in.

#1 2023-12-24 16:52:34

joe102
Member
Registered: 2023-12-24
Posts: 2

withings-sync update to 4.2.1

Hello,
please update to 4.2.1

# Maintainer: mattski <redmattski at gmail dot com>

pkgname=withings-sync
pkgver=4.2.1
pkgrel=1
pkgdesc="A tool for synchronisation of Withings (ex. Nokia Health Body)
to Garmin Connect and Trainer Road."
arch=(any)
url="https://github.com/jaroslawhartman/withings-sync"
license=(MIT)
depends=(
    python-garth
    python-lxml
    python-requests
    python-dotenv
    python-setuptools
)
makedepends=("python")

source=("${pkgname}.tar.gz::${url}/archive/${pkgver}.tar.gz"
        "${pkgname}.service"
        "${pkgname}.timer"
        "${pkgname}.conf.example")

sha256sums=('63cb1541322e3908f7a7dba079a7b9ecb8faf7456e5a5cd17cb2e8821d
7d250f'
           
'36b14f20346ed8f6c422ae528da2121b8426a279665b9191c3adc5f0f47bc387'
           
'fa0bbd87d27b8041591ab93c32c3cb7fb578bf3547184a017fd8d831a6345ddb'
           
'02132928a64560742db74e1813aed6a7f2b7a9ed9bc9f43b6fcf20c2e0afa6c7')

build() {
    cd "$pkgname-$pkgver"
    python setup.py build
}

package() {
  cd "$pkgname-$pkgver"
  python setup.py install --root="$pkgdir" --optimize=1 --skip-build

  install -Dm644 "${srcdir}/${pkgname}.service"
"${pkgdir}/usr/lib/systemd/user/${pkgname}.service"
  install -Dm644 "${srcdir}/${pkgname}.timer"
"${pkgdir}/usr/lib/systemd/user/${pkgname}.timer"
  install -Dm600 "${srcdir}/${pkgname}.conf.example"
"${pkgdir}/etc/${pkgname}/${pkgname}.conf.example"
  install -Dm644 LICENSE
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

  echo "1.) Initially run withings-sync from the cli for the <user> to
enable the access to withings"
  echo "2.) Copy Conf file to home directory and update with
Garmin/Trainer Road Username & P/W"
  echo "3.) Edit the service file to point to the conf file location"
  echo "       $systemctl --user edit --full withings-sync.service"
  echo "4.) Enable the timer: $systemctl --user enable --now withings-
sync.timer"
}


Thanks
Josef

Offline

#2 2023-12-25 21:06:15

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: withings-sync update to 4.2.1

Please post your PKGBUID to the AUR comments and/or file an orphan request.

Offline

Board footer

Powered by FluxBB