Skip to content

Commit

Permalink
Removed backports.zoneinfo dependency which breaks Python 3.9 support…
Browse files Browse the repository at this point in the history
… and not even needed with default Python 3.8 in DSM7.2.
  • Loading branch information
skarppi committed Jan 20, 2024
1 parent 80286dd commit 51a7820
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Helper scripts to repackage [iCloud Photos Downloader](https://github.com/icloud

Ready made package is available:

- icloudpd-1.17.3 [icloud_photo_station-0.4.0.spk](https://github.com/skarppi/icloud_photo_station/releases/download/v0.4.0/icloud_photo_station-0.4.0.spk)
- icloudpd-1.17.3 [icloud_photo_station-0.4.1.spk](https://github.com/skarppi/icloud_photo_station/releases/download/v0.4.1/icloud_photo_station-0.4.1.spk)

- Or follow instructions below how to package SPK yourself from code with the latest available icloudpd library

Expand Down
1 change: 0 additions & 1 deletion requirements-manylinux.txt

This file was deleted.

2 changes: 1 addition & 1 deletion spk/INFO
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package="icloud_photo_station"
version="0.4.0"
version="0.4.1"
description="Synchronize iCloud Photos to DSM"

maintainer="Juho Kolehmainen"
Expand Down
5 changes: 1 addition & 4 deletions spk/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ setup() {
create_package_tgz() {
# Install virtual env and all libraries
tar xvfz _${VIRTUALENV} -C $TGZ_DIR
python3 -m pip download --dest=${TGZ_DIR}/wheelhouse icloudpd --platform=manylinux1_x86_64 --implementation cp --python-version 3.8 --only-binary=:all:

# Platform specific libraries
python3 -m pip download --dest=${TGZ_DIR}/wheelhouse/ -r ../requirements-manylinux.txt --platform=manylinux1_x86_64 --implementation cp --python-version 3.8 --only-binary=:all:
python3 -m pip download --dest=${TGZ_DIR}/wheelhouse icloudpd --platform=manylinux1_x86_64 --implementation cp --only-binary=:all:

# ### create package.tgz $1: source_dir $2: dest_dir
pkg_make_package $TGZ_DIR "${PKG_DIR}"
Expand Down

0 comments on commit 51a7820

Please sign in to comment.