Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
alpine
aports
Commits
69515540
Commit
69515540
authored
Nov 17, 2018
by
Stefan Wagner
Committed by
Andy Postnikov
Feb 14, 2019
Browse files
testing/py-tinycss: upgrade to 0.4
parent
f3931fed
Changes
2
Hide whitespace changes
Inline
Side-by-side
testing/py-tinycss/APKBUILD
View file @
69515540
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Contributor: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname
=
py-tinycss
pkgver
=
0.3
pkgrel
=
1
_pkgname
=
tinycss
pkgver
=
0.4
pkgrel
=
0
pkgdesc
=
"tiny CSS parser for python"
url
=
"https://pythonhosted.org/tinycss"
arch
=
"all"
license
=
"BSD"
depends
=
"python2"
depends_dev
=
""
makedepends
=
"python2-dev py-setuptools"
install
=
""
subpackages
=
""
source
=
"https://files.pythonhosted.org/packages/source/t/tinycss/tinycss-
$pkgver
.tar.gz"
_builddir
=
"
$srcdir
"
/tinycss-
$pkgver
prepare
()
{
local
i
cd
"
$_builddir
"
for
i
in
$source
;
do
case
$i
in
*
.patch
)
msg
$i
;
patch
-p1
-i
"
$srcdir
"
/
$i
||
return
1
;;
esac
done
}
makedepends
=
"python2-dev python3-dev py-setuptools"
checkdepends
=
"pytest-cov py-configparser py-futures"
subpackages
=
"py2-
${
pkgname
#py-
}
:_py2 py3-
${
pkgname
#py-
}
:_py3"
source
=
"https://files.pythonhosted.org/packages/source/
${
_pkgname
:0:1
}
/
$_pkgname
/
$_pkgname
-
$pkgver
.tar.gz
disable-styling-checks.patch"
builddir
=
"
$srcdir
"
/
$_pkgname
-
$pkgver
build
()
{
cd
"
$_builddir
"
python2 setup.py build
||
return
1
cd
"
$builddir
"
python2 setup.py build
python3 setup.py build
}
check
()
{
cd
"
$builddir
"
python2 setup.py
test
python3 setup.py
test
}
package
()
{
cd
"
$_builddir
"
python2 setup.py
install
--prefix
=
/usr
--root
=
"
$pkgdir
"
||
return
1
mkdir
-p
"
$pkgdir
"
}
_py2
()
{
replaces
=
"
$pkgname
"
_py python2
}
_py3
()
{
_py python3
}
_py
()
{
local
python
=
"
$1
"
pkgdesc
=
"
$pkgdesc
(for
$python
)"
depends
=
"
$depends
$python
"
install_if
=
"
$pkgname
=
$pkgver
-r
$pkgrel
$python
"
cd
"
$builddir
"
$python
setup.py
install
--prefix
=
/usr
--root
=
"
$subpkgdir
"
}
md5sums
=
"13999e54453d4fbc9d1539f4b95d235e tinycss-0.3.tar.gz"
sha256sums
=
"a4adabd1c417080372c789220f7f9985995e74f2fb612848306872a232862cde tinycss-0.3.tar.gz"
sha512sums
=
"1fdf29777ee7b3ef39cf2169d8f464a7e5aea850de8a7976acf3ed9e73e831ea0d7ee52b4c8c9979b2263509cbffe1bde85cf6da178ddeaac9009ace7a2b4441 tinycss-0.3.tar.gz"
sha512sums
=
"13a50332cddc28026fd7ecc007e14085976284e69de6ea93d1013502fd9791694092c010947b13dcd23f3a2df65f277f62410abd90d03eac16fa5af913673b0a tinycss-0.4.tar.gz
8265e4c9e52fb8ae3f3041333aea46c3702e3657892a957db2117615d16b446bcadb96601fe0b8197d921997433b1a0e06a77a10ce74095687c59ed00f766def disable-styling-checks.patch"
testing/py-tinycss/disable-styling-checks.patch
0 → 100644
View file @
69515540
--- a/setup.cfg
+++ b/setup.cfg
@@ -9,7 +9,7 @@
test = pytest
[tool:pytest]
-addopts = --flake8 --isort --cov --ignore=test/cairosvg_reference
+addopts = --cov --ignore=test/cairosvg_reference
norecursedirs = dist .cache .git build *.egg-info .eggs venv cairosvg_reference
flake8-ignore = docs/conf.py ALL
isort_ignore =
--- a/setup.py
+++ b/setup.py
@@ -99,9 +99,9 @@
],
setup_requires=pytest_runner,
tests_require=[
- 'pytest-cov', 'pytest-flake8', 'pytest-isort', 'pytest-runner'],
+ 'pytest-cov', 'pytest-runner'],
extras_require={'test': (
- 'pytest-runner', 'pytest-cov', 'pytest-flake8', 'pytest-isort')},
+ 'pytest-runner', 'pytest-cov')},
packages=['tinycss', 'tinycss.tests'],
**kwargs
)
--- a/tinycss.egg-info/requires.txt
+++ b/tinycss.egg-info/requires.txt
@@ -2,5 +2,3 @@
[test]
pytest-runner
pytest-cov
-pytest-flake8
-pytest-isort
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment