Skip to content
Snippets Groups Projects
Commit fb1c8dfc authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

drop a couple of deps

jaraco.apt and yg.lockfile were removed for v4.0.0. [1]

Also drop most of the check deps as they don't appear to be required.

[1] https://github.com/jaraco/jaraco.context/commit/23d17bf1f04b
parent 598e8e0d
No related branches found
No related tags found
No related merge requests found
......@@ -2,16 +2,14 @@
pkgname=python-jaraco.context
pkgver=4.1.1
pkgrel=1
pkgrel=2
pkgdesc="Context managers by jaraco"
url="https://github.com/jaraco/jaraco.context"
license=('MIT')
arch=('any')
depends=('python-jaraco' 'python-yg.lockfile')
depends=('python')
makedepends=('python-setuptools-scm' 'python-toml')
checkdepends=('python-pytest-black' 'python-pytest-checkdocs' 'python-pytest-cov'
'python-pytest-flake8' 'python-pytest-mypy' 'python-jaraco.test'
'python-pip')
checkdepends=('python-pytest')
source=("https://github.com/jaraco/jaraco.context/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('d1def3f0f701d36f584a60c57837d5e4bf9121c5ce8387f734ac371164f5ba0fe04b73d4d0e16367cfcd6a13cf11ab5dab2afe798f18dfddba15700fe6779fe0')
......@@ -19,9 +17,6 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
prepare() {
cd jaraco.context-$pkgver
sed -i '/import jaraco.apt/d' jaraco/context.py
# Ignore flake8 error introduced by the above apt workaround
echo -e '\nper-file-ignores =\n\tjaraco/context.py: F821' >> .flake8
}
build() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment