[arch-commits] Commit in python-cookiecutter/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Fri May 14 17:44:57 UTC 2021


    Date: Friday, May 14, 2021 @ 17:44:56
  Author: dvzrv
Revision: 934275

upgpkg: python-cookiecutter 1.7.3-1: Upgrade to 1.7.3.

Remove unnecessary patches for python-click and python-markupsafe.

Modified:
  python-cookiecutter/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++---------------
 1 file changed, 11 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-14 17:33:27 UTC (rev 934274)
+++ PKGBUILD	2021-05-14 17:44:56 UTC (rev 934275)
@@ -2,29 +2,25 @@
 
 _name=cookiecutter
 pkgname=python-cookiecutter
-pkgver=1.7.2
-pkgrel=5
+pkgver=1.7.3
+pkgrel=1
 pkgdesc="A command-line utility that creates projects from project templates"
 arch=('any')
 url="https://github.com/cookiecutter/cookiecutter"
 license=('BSD')
-depends=('python-binaryornot' 'python-click' 'python-future' 'python-jinja'
-'python-jinja-time' 'python-poyo' 'python-requests' 'python-slugify'
-'python-whichcraft')
+depends=('python-binaryornot' 'python-click' 'python-jinja' 'python-jinja-time'
+'python-poyo' 'python-requests' 'python-six' 'python-slugify')
 makedepends=('python-setuptools')
-checkdepends=('git' 'python-freezegun' 'python-pytest' 'python-pytest-cov'
-'python-pytest-mock')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"
-        allow-jinja-3.0.0.patch
-        drop-unneeded-markupsafe-constraints.patch)
-sha512sums=('8fb6db75703a2c6276d275817b81c0e5d5f15226236e8c5442fbda6198aaec19c3fd68c030f79f6bca55258c0c248660b32d1344f7d6b06ecf5563b43474d877'
-            'd83168b30cdec8d3cff6db05ea1e1cd27046d6e296be056571f5ddbcf7dc4574280444ca30dad224a1aee6dfa13e2fa81331f209f8940f71470e99808149c45e'
-            'ec7ff08abed877afd163703dbc362c0cb47bb97539ac464daeaef9b63445a03340a1f35b541977ab4b39f832c13c3846e81890a24b19a624266917abb92a21ee')
+checkdepends=('git' 'python-freezegun' 'python-pytest' 'python-pytest-mock')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('231cff1fc51c8159918728a3ca3f21607c9fb236ebf55e2fe2d620345e14451b175e56c3714a7b4c5736cc5e93f47d732691e789184e4140a7889a9e2f9a89a8')
+b2sums=('3f0630d99e784250cf39c3f9c2e28907abc2c208aefffcc52ef78f987591ee76712d858288736bd4553393385a31ceaa509ac566630fb509fa11a088da01693e')
 
 prepare() {
   mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-  patch -Np1 -d "$pkgname-$pkgver" <allow-jinja-3.0.0.patch
-  patch -Np1 -d "$pkgname-$pkgver" <drop-unneeded-markupsafe-constraints.patch
+  cd "$pkgname-$pkgver"
+  # we do not care about code coverage in pytest runs
+  sed -e '/addopts/d' -i setup.cfg
 }
 
 build() {



More information about the arch-commits mailing list