From 9f45e22cf2ebb3fc8d12fd267b3675f3a22d664c Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Sun, 24 Oct 2021 13:35:03 -0400 Subject: [PATCH] python3-frozendict: update to 2.0.7. --- srcpkgs/python3-frozendict/patches/build-py.patch | 13 ------------- srcpkgs/python3-frozendict/template | 14 ++++---------- 2 files changed, 4 insertions(+), 23 deletions(-) delete mode 100644 srcpkgs/python3-frozendict/patches/build-py.patch diff --git a/srcpkgs/python3-frozendict/patches/build-py.patch b/srcpkgs/python3-frozendict/patches/build-py.patch deleted file mode 100644 index 4ec531e6aa66..000000000000 --- a/srcpkgs/python3-frozendict/patches/build-py.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/setup.py b/setup.py -index 462ee99..c287130 100755 ---- a/setup.py -+++ b/setup.py -@@ -157,7 +157,7 @@ common_setup_args = dict( - keywords = keywords, - ) - --custom_arg = None -+custom_arg = "py" - - if len(argv) > 1 and (argv[1] == "py" or argv[1] == "c_debug"): - custom_arg = argv[1] diff --git a/srcpkgs/python3-frozendict/template b/srcpkgs/python3-frozendict/template index 479b6b47a656..6a478b3e1b5d 100644 --- a/srcpkgs/python3-frozendict/template +++ b/srcpkgs/python3-frozendict/template @@ -1,6 +1,6 @@ # Template file for 'python3-frozendict' pkgname=python3-frozendict -version=2.0.6 +version=2.0.7 revision=1 wrksrc="frozendict-${version}" build_style=python3-module @@ -12,14 +12,8 @@ maintainer="Orphaned " license="LGPL-3.0-only" homepage="https://github.com/Marco-Sulla/python-frozendict" distfiles="${PYPI_SITE}/f/frozendict/frozendict-${version}.tar.gz" -checksum=3f00de72805cf4c9e81b334f3f04809278b967d2fed84552313a0fcce511beb1 +checksum=a68f609d1af67da80b45519fdcfca2d60249c0a8c96e68279c1b6ddd92128204 -pre_patch() { - # remove c implementation tests - cd test - rm c_only.py - rm test_frozendict_c.py - rm test_frozendict_c_subclass.py - rm test_coold.py - rm test_coold_subclass.py +do_check() { + PYTHONPATH="$(cd build/lib* && pwd)" pytest3 -k 'not test_empty_sub' }