diff --git a/srcpkgs/python3-filelock/patches/3.4.2--version.patch b/srcpkgs/python3-filelock/patches/3.4.2--version.patch deleted file mode 100644 index b6e95e7310b..00000000000 --- a/srcpkgs/python3-filelock/patches/3.4.2--version.patch +++ /dev/null @@ -1,20 +0,0 @@ -From c35906df452081d10473468cf4b06aa8623d100b Mon Sep 17 00:00:00 2001 -From: Piotr Wójcik -Date: Mon, 31 Jan 2022 22:20:24 +0100 -Subject: version - - -diff --git a/setup.cfg b/setup.cfg -index 3e496ce..70cda6f 100644 ---- a/setup.cfg -+++ b/setup.cfg -@@ -1,5 +1,6 @@ - [metadata] - name = filelock -+version = attr: src.filelock.version.version - description = A platform independent file lock. - long_description = file: README.md - long_description_content_type = text/markdown --- -2.35.0 - diff --git a/srcpkgs/python3-filelock/template b/srcpkgs/python3-filelock/template index a524050b040..e5acb7b46bb 100644 --- a/srcpkgs/python3-filelock/template +++ b/srcpkgs/python3-filelock/template @@ -1,14 +1,16 @@ # Template file for 'python3-filelock' pkgname=python3-filelock -version=3.7.1 -revision=2 -build_style=python3-module -hostmakedepends="python3-setuptools" +version=3.9.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="hatchling hatch-vcs" depends="python3" +checkdepends="python3-pytest python3-pytest-cov python3-coverage" short_desc="Platform independent file lock" maintainer="Piotr Wójcik " license="Unlicense" homepage="https://py-filelock.readthedocs.io/en/latest/" changelog="https://raw.githubusercontent.com/tox-dev/py-filelock/main/docs/changelog.rst" distfiles="${PYPI_SITE}/f/filelock/filelock-${version}.tar.gz" -checksum=3a0fd85166ad9dbab54c9aec96737b744106dc5f15c0b09a6744a445299fcf04 +checksum=7b319f24340b51f55a2bf7a12ac0755a9b03e718311dac567a0f4f7fabd2f5de +make_check_pre="env PYTHONPATH=src/"