diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2022-10-07 21:59:20 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-10-08 09:12:47 +0700 |
commit | 79012085d2973c965ec69661f7947231437c44ab (patch) | |
tree | d6dd94fc444b0eb50a8b7b6a663d0c417e85c1cb /python/tzdata/tzdata.SlackBuild | |
parent | 31d3cccfc6e1c69ed00a55d35527e6a6d2536cb6 (diff) |
python/tzdata: Updated for version 2022.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/tzdata/tzdata.SlackBuild')
-rw-r--r-- | python/tzdata/tzdata.SlackBuild | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/python/tzdata/tzdata.SlackBuild b/python/tzdata/tzdata.SlackBuild index 81d7f4bb5382b..c0ce6798c537f 100644 --- a/python/tzdata/tzdata.SlackBuild +++ b/python/tzdata/tzdata.SlackBuild @@ -22,11 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220929 46and2: Updated version, build process changed. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tzdata SRCNAM=$(echo $PRGNAM | sed "s/python3-//") -VERSION=${VERSION:-2022.2} +VERSION=${VERSION:-2022.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,15 +82,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -#add basic setup.py -cat << EOF > setup.py -from setuptools import setup - -if __name__ == '__main__': - setup() -EOF - -python3 setup.py install --root=$PKG +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |