summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcell Meszaros2022-06-23 15:54:18 +0200
committerMarcell Meszaros2022-06-23 15:54:18 +0200
commite95458957e601c8b98115826a28a46432403f23a (patch)
tree0dfd19ffe21b6b6b5c0cffcd59bef00186cd9f7a
parent17caedb8546c8d963430991bd8f87c78dedd8457 (diff)
downloadaur-e95458957e601c8b98115826a28a46432403f23a.tar.gz
bump 4.9.3-6: fix testing: should not add srcdir refs to *.pyc files
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD7
2 files changed, 4 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f089f8583979..279b0ae3e90e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
pkgbase = python2-beautifulsoup4
pkgdesc = Web HTML/XML parser addons for screen-scraping (legacy Python 2 version)
pkgver = 4.9.3
- pkgrel = 5
+ pkgrel = 6
url = https://pypi.org/project/beautifulsoup4/4.9.3/
arch = any
license = MIT
- checkdepends = python2-pytest
makedepends = python2-setuptools
depends = python2-soupsieve
optdepends = python2-chardet: to autodetect character encodings
diff --git a/PKGBUILD b/PKGBUILD
index 3fcdbe7f10ea..4a7011f8ce2e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname='python2-beautifulsoup4'
_distname="${pkgname#python2-}"
pkgver=4.9.3
-pkgrel=5
+pkgrel=6
pkgdesc='Web HTML/XML parser addons for screen-scraping (legacy Python 2 version)'
arch=('any')
url="https://pypi.org/project/${_distname}/${pkgver}/"
@@ -21,7 +21,6 @@ optdepends=(
makedepends=(
'python2-setuptools'
)
-checkdepends=('python2-pytest')
_tarname="${_distname}-${pkgver}"
source=("https://files.pythonhosted.org/packages/source/${_distname::1}/${_distname}/${_tarname}.tar.gz")
sha256sums=('84729e322ad1d5b4d25f805bfa05b902dd96450f43842c4e99067d5e1369eb25')
@@ -34,8 +33,8 @@ build() {
}
check() {
- cd "${_tarname}/build"
- py.test2
+ cd "${_tarname}"
+ python2 -m unittest discover -s bs4 -v
}
package() {