Date: Wednesday, October 12, 2022 @ 01:31:19
  Author: grawlinson
Revision: 1327767

archrelease: copy trunk to community-any

Added:
  python-pydyf/repos/community-any/PKGBUILD
    (from rev 1327766, python-pydyf/trunk/PKGBUILD)
Deleted:
  python-pydyf/repos/community-any/PKGBUILD
  python-pydyf/repos/community-any/remove-unnecessary-test-args.patch

------------------------------------+
 PKGBUILD                           |  116 +++++++++++++++--------------------
 remove-unnecessary-test-args.patch |   21 ------
 2 files changed, 51 insertions(+), 86 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-12 01:30:43 UTC (rev 1327766)
+++ PKGBUILD    2022-10-12 01:31:19 UTC (rev 1327767)
@@ -1,65 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]>
-# Maintainer: George Rawlinson <[email protected]>
-
-pkgname=python-pydyf
-pkgver=0.3.0
-pkgrel=1
-pkgdesc='A low-level PDF generator'
-arch=('any')
-url='https://www.courtbouillon.org/pydyf'
-license=('BSD')
-depends=('python')
-makedepends=(
-  'git'
-  'python-build'
-  'python-flit-core'
-  'python-installer'
-)
-checkdepends=(
-  'python-pytest'
-  'python-pillow'
-  'ghostscript'
-)
-_commit='8de4eb056d5cacd8a6150fa077fc7982f3b35bb9'
-source=(
-  "$pkgname::git+https://github.com/CourtBouillon/pydyf.git#commit=$_commit";
-  'remove-unnecessary-test-args.patch'
-)
-b2sums=('SKIP'
-        
'eac0ff06b669ccdf0b1ebf55b314fde5c8dd7e0f7f02559681f7ad485ba13db2ba07e5b7a4ec06dbf39bf823d6f7a67c6cab8ebd87630334de6ae6b8745d9e7b')
-
-pkgver() {
-  cd "$pkgname"
-
-  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"
-
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  cd "$pkgname"
-
-  # skip failing tests
-  pytest \
-    --deselect tests/test_pydyf.py::test_transform \
-    --deselect tests/test_pydyf.py::test_text
-}
-
-package() {
-  cd "$pkgname"
-
-  python -m installer --destdir="$pkgdir" dist/*.whl
-
-  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-}

Copied: python-pydyf/repos/community-any/PKGBUILD (from rev 1327766, 
python-pydyf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-10-12 01:31:19 UTC (rev 1327767)
@@ -0,0 +1,51 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Maintainer: George Rawlinson <[email protected]>
+
+pkgname=python-pydyf
+pkgver=0.5.0
+pkgrel=1
+pkgdesc='A low-level PDF generator'
+arch=('any')
+url='https://www.courtbouillon.org/pydyf'
+license=('BSD')
+depends=('python')
+makedepends=(
+  'git'
+  'python-build'
+  'python-flit-core'
+  'python-installer'
+)
+checkdepends=(
+  'python-pytest'
+  'python-pillow'
+  'ghostscript'
+)
+_commit='4694659d31e3c844d2c0d89f230b709f62d752b5'
+source=("$pkgname::git+https://github.com/CourtBouillon/pydyf.git#commit=$_commit";)
+b2sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd "$pkgname"
+
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd "$pkgname"
+
+  pytest
+}
+
+package() {
+  cd "$pkgname"
+
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}

Deleted: remove-unnecessary-test-args.patch
===================================================================
--- remove-unnecessary-test-args.patch  2022-10-12 01:30:43 UTC (rev 1327766)
+++ remove-unnecessary-test-args.patch  2022-10-12 01:31:19 UTC (rev 1327767)
@@ -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