Search Criteria
Package Details: withings-sync v4.2.7.r0.g67c0ed2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/withings-sync.git (read-only, click to copy) |
---|---|
Package Base: | withings-sync |
Description: | A tool for synchronisation of Withings (ex. Nokia Health Body) to Garmin Connect and Trainer Road. |
Upstream URL: | https://github.com/jaroslawhartman/withings-sync |
Licenses: | MIT |
Submitter: | mattski |
Maintainer: | kTT |
Last Packager: | kTT |
Votes: | 1 |
Popularity: | 0.000349 |
First Submitted: | 2021-03-06 20:26 (UTC) |
Last Updated: | 2024-12-03 09:59 (UTC) |
Dependencies (6)
- python-dotenv
- python-garthAUR
- python-lxml
- python-requests
- python-setuptools
- python (python37AUR, python311AUR, python310AUR) (make)
Latest Comments
joe102 commented on 2023-12-27 12:10 (UTC)
pkgname=withings-sync pkgver=v4.2.1.r0.g6975db3 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::git+https://github.com/jaroslawhartman/withings-sync.git" "${pkgname}.service" "${pkgname}.timer" "${pkgname}.conf.example")
pkgver() { cd $pkgname git describe --long --tags | sed 's/([^-]*-g)/r\1/;s/-/./g' }
sha256sums=('SKIP' '36b14f20346ed8f6c422ae528da2121b8426a279665b9191c3adc5f0f47bc387' 'fa0bbd87d27b8041591ab93c32c3cb7fb578bf3547184a017fd8d831a6345ddb' '02132928a64560742db74e1813aed6a7f2b7a9ed9bc9f43b6fcf20c2e0afa6c7') build() { cd $pkgname python setup.py build }
package() { cd $pkgname 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" }
joe102 commented on 2023-11-19 16:21 (UTC)
depends=( python-garth python-lxml python-requests python-dotenv python-setuptools )
is ok
joe102 commented on 2023-11-19 16:19 (UTC)
https://github.com/jaroslawhartman/withings-sync/releases/tag/v4.2.1
liujed commented on 2023-10-07 12:08 (UTC) (edited on 2023-10-07 12:09 (UTC) by liujed)
The dependency set might need to be updated. This works for me, but I only use Garmin and not Trainer Road, so YMMV.
In particular, garth recently replaced cloudscraper as a dependency: https://github.com/jaroslawhartman/withings-sync/commit/8febfe59723bfe1cb28d04758b20e730a23da9ff
higgins commented on 2022-11-19 14:37 (UTC)
Hello, installation requires python-rfc3986<2 but only version 2.0.0-1 is available, any hints to solve this? Thx