Date: Monday, September 26, 2022 @ 16:55:39 Author: dvzrv Revision: 1311513
upgpkg: python-coverage-conditional-plugin 0.7.0-1: Upgrade to 0.7.0. Remove unneeded fix for poetry. Modified: python-coverage-conditional-plugin/trunk/PKGBUILD Deleted: python-coverage-conditional-plugin/trunk/python-coverage-conditional-plugin-0.5.0-poetry.patch -------------------------------------------------------+ PKGBUILD | 27 ++++------------ python-coverage-conditional-plugin-0.5.0-poetry.patch | 12 ------- 2 files changed, 7 insertions(+), 32 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-09-26 16:50:31 UTC (rev 1311512) +++ PKGBUILD 2022-09-26 16:55:39 UTC (rev 1311513) @@ -2,32 +2,19 @@ _name=coverage-conditional-plugin pkgname=python-coverage-conditional-plugin -pkgver=0.5.0 -pkgrel=2 +pkgver=0.7.0 +pkgrel=1 pkgdesc="Conditional coverage based on any rules you define" arch=(any) url="https://github.com/wemake-services/coverage-conditional-plugin" license=(MIT) -# package actually depends on python-setuptools: https://github.com/wemake-services/coverage-conditional-plugin/issues/174 -depends=(python-coverage python-packaging python-setuptools) -makedepends=(python-build python-installer python-poetry python-wheel) +depends=(python-coverage python-packaging) +makedepends=(python-build python-installer python-poetry-core python-wheel) checkdepends=(python-pytest python-pytest-cov python-pytest-randomly) -# no tests in sdist tarball: https://github.com/wemake-services/coverage-conditional-plugin/issues/153 -# source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz) -source=( - $_name-$pkgver.tar.gz::https://github.com/wemake-services/$_name/archive/refs/tags/$pkgver.tar.gz - $pkgname-0.5.0-poetry.patch -) -sha256sums=('930db4b1c2ef9f456b2379a78b7773db701a3915fb5b0fa205fe964914de40c4' - '250df5cedfb0ae89744b82f6f6a0ee062501f15ad58acde6a6e294b38ef4b502') -b2sums=('2ccbb03eeaff2c1526454c4ee134778e31b5f0b07491715bfab39d4ae8c69cc4625269d0910ebef2f2b6a6fc7ee1556352b0d14ba8395ae3e2a2b882ed90d692' - '79e8a786df0e36e5a9f29d54ad343d50c2aff64b2d413094082dd0d0af785b2da0168a14bddff85285a5d1b43d7240fb46d1d0742facb65befbe587b9499ef71') +source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz) +sha256sums=('c67baa7377e1ea9fbaa6c00c26f6aefbd2e1bb055ec8d6b5527e48f6dd18163e') +b2sums=('1ef41fdeede7ffa59f3f2eb53d122eed8e25185376187e809a3794524c2853a1703ba4c283ae81ea14e237305e454689149a4faeb93be0aa39e2171abc530b01') -prepare() { - # fix incompatibility with PEP517: https://github.com/wemake-services/coverage-conditional-plugin/issues/155 - patch -Np1 -d $_name-$pkgver -i ../$pkgname-0.5.0-poetry.patch -} - build() { cd $_name-$pkgver python -m build --wheel --no-isolation Deleted: python-coverage-conditional-plugin-0.5.0-poetry.patch =================================================================== --- python-coverage-conditional-plugin-0.5.0-poetry.patch 2022-09-26 16:50:31 UTC (rev 1311512) +++ python-coverage-conditional-plugin-0.5.0-poetry.patch 2022-09-26 16:55:39 UTC (rev 1311513) @@ -1,12 +0,0 @@ -diff -ruN a/pyproject.toml b/pyproject.toml ---- a/pyproject.toml 2022-01-02 14:35:11.000000000 +0100 -+++ b/pyproject.toml 2022-06-19 16:09:50.958743465 +0200 -@@ -1,6 +1,6 @@ - [build-system] --requires = ["poetry>=1.0"] --build-backend = "poetry.masonry.api" -+requires = ["poetry-core>=1.0.0"] -+build-backend = "poetry.core.masonry.api" - - - [tool.nitpick]
