Skip to content

Commit

Permalink
update fiona to 1.8.22 and add python3-et-xmlfile (missing dependency…
Browse files Browse the repository at this point in the history
… of openpyxl)
  • Loading branch information
jef-n committed Dec 7, 2022
1 parent f8d673b commit 6ff9719
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/pippkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def GetLongPathName(p):
""" .format(
props['Summary'],
environ['MAINTAINER'],
(" " + " ".join(sorted('python3-{}'.format(p) for p in props['Requires']))) if props['Requires'] else "",
(" " + " ".join(sorted('python3-{}'.format(p.replace('_', '-')) for p in props['Requires']))) if props['Requires'] else "",
(" " + environ['adddepends']) if 'adddepends' in environ else ''
).encode("utf-8")
)
Expand Down
13 changes: 13 additions & 0 deletions src/python3-et-xmlfile/osgeo4w/package.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export P=python3-et-xmlfile
export V=pip
export B=pip
export MAINTAINER=JuergenFischer
export BUILDDEPENDS="python3-pip python3-wheel python3-setuptools"

source ../../../scripts/build-helpers

startlog

packagewheel

endlog
6 changes: 5 additions & 1 deletion src/python3-fiona/osgeo4w/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@ startlog

major=$(sed -ne "s/# *define *GDAL_VERSION_MAJOR *//p" osgeo4w/include/gdal_version.h)
minor=$(sed -ne "s/# *define *GDAL_VERSION_MINOR *//p" osgeo4w/include/gdal_version.h)
rev=$(sed -ne "s/# *define *GDAL_VERSION_REV *//p" osgeo4w/include/gdal_version.h)
major=${major%}
minor=${minor%}
rev=${rev%}

cat <<EOF >pip.env
export GDAL_VERSION=$major.$minor
export GDAL_VERSION=$major.$minor.$rev
export INCLUDE="$(cygpath -am osgeo4w/include);\$INCLUDE"
export LIB="$(cygpath -am osgeo4w/lib);\$LIB"
EOF
Expand Down

1 comment on commit 6ff9719

@jef-n
Copy link
Owner Author

@jef-n jef-n commented on 6ff9719 Dec 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.