Date: Wednesday, May 6, 2020 @ 08:08:10 Author: polyzen Revision: 625028
upgpkg: urlwatch 2.18-3 Remove pycodestyle hard dep Modified: urlwatch/trunk/PKGBUILD ----------+ PKGBUILD | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-05-06 07:55:15 UTC (rev 625027) +++ PKGBUILD 2020-05-06 08:08:10 UTC (rev 625028) @@ -6,21 +6,25 @@ pkgname=urlwatch pkgver=2.18 -pkgrel=2 +pkgrel=3 pkgdesc='Tool for monitoring webpages for updates' arch=('any') url=https://thp.io/2008/urlwatch/ license=('BSD') depends=('python-appdirs' 'python-cssselect' 'python-keyring' 'python-lxml' - 'python-minidb' 'python-pycodestyle' 'python-requests' - 'python-setuptools' 'python-yaml') + 'python-minidb' 'python-requests' 'python-setuptools' 'python-yaml') optdepends=('lynx: convert HTML to plain text' 'python-beautifulsoup4: prettify HTML' 'python-html2text: convert HTML to plain text') -checkdepends=('python-nose') +checkdepends=('python-nose' 'python-pycodestyle') source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz") sha256sums=('b556d1176683f0b7058d7bd34cddfdadbc86ab9551fe5e674aaf55c89696bd9d') +prepare() { + cd $pkgname-$pkgver + sed -i "s/'pycodestyle', //" setup.py +} + build() { cd $pkgname-$pkgver python setup.py build