Date: Wednesday, October 12, 2022 @ 01:30:43
  Author: grawlinson
Revision: 1327766

upgpkg: python-pydyf 0.5.0-1; new upstream release

* New upstream release.
* Remove test args patch due to upstream fix.
* Remove skipped tests.

Modified:
  python-pydyf/trunk/PKGBUILD
Deleted:
  python-pydyf/trunk/remove-unnecessary-test-args.patch

------------------------------------+
 PKGBUILD                           |   24 +++++-------------------
 remove-unnecessary-test-args.patch |   21 ---------------------
 2 files changed, 5 insertions(+), 40 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-12 01:26:32 UTC (rev 1327765)
+++ PKGBUILD    2022-10-12 01:30:43 UTC (rev 1327766)
@@ -2,7 +2,7 @@
 # Maintainer: George Rawlinson <[email protected]>
 
 pkgname=python-pydyf
-pkgver=0.3.0
+pkgver=0.5.0
 pkgrel=1
 pkgdesc='A low-level PDF generator'
 arch=('any')
@@ -20,13 +20,9 @@
   'python-pillow'
   'ghostscript'
 )
-_commit='8de4eb056d5cacd8a6150fa077fc7982f3b35bb9'
-source=(
-  "$pkgname::git+https://github.com/CourtBouillon/pydyf.git#commit=$_commit";
-  'remove-unnecessary-test-args.patch'
-)
-b2sums=('SKIP'
-        
'eac0ff06b669ccdf0b1ebf55b314fde5c8dd7e0f7f02559681f7ad485ba13db2ba07e5b7a4ec06dbf39bf823d6f7a67c6cab8ebd87630334de6ae6b8745d9e7b')
+_commit='4694659d31e3c844d2c0d89f230b709f62d752b5'
+source=("$pkgname::git+https://github.com/CourtBouillon/pydyf.git#commit=$_commit";)
+b2sums=('SKIP')
 
 pkgver() {
   cd "$pkgname"
@@ -34,13 +30,6 @@
   git describe --tags | sed 's/^v//'
 }
 
-prepare() {
-  cd "$pkgname"
-
-  # thou shalt not lint coding style in integration tests
-  patch -p1 -i ../remove-unnecessary-test-args.patch
-}
-
 build() {
   cd "$pkgname"
 
@@ -50,10 +39,7 @@
 check() {
   cd "$pkgname"
 
-  # skip failing tests
-  pytest \
-    --deselect tests/test_pydyf.py::test_transform \
-    --deselect tests/test_pydyf.py::test_text
+  pytest
 }
 
 package() {

Deleted: remove-unnecessary-test-args.patch
===================================================================
--- remove-unnecessary-test-args.patch  2022-10-12 01:26:32 UTC (rev 1327765)
+++ remove-unnecessary-test-args.patch  2022-10-12 01:30:43 UTC (rev 1327766)
@@ -1,21 +0,0 @@
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -42,18 +42,3 @@ test = ['pytest', 'pytest-xdist', 'pytest-flake8', 
'pytest-isort', 'pytest-cov',
- 
- [tool.flit.sdist]
- exclude = ['.*']
--
--[tool.pytest.ini_options]
--addopts = '--isort --flake8 --numprocesses=auto'
--
--[tool.coverage.run]
--branch = true
--include = ['tests/*', 'pydyf/*']
--
--[tool.coverage.report]
--exclude_lines = ['pragma: no cover', 'def __repr__', 'raise 
NotImplementedError']
--omit = ['.*']
--
--[tool.isort]
--default_section = 'FIRSTPARTY'
--multi_line_output = 4

Reply via email to