[arch-commits] Commit in python-pypandoc/trunk (PKGBUILD)

2022-06-07 Thread Caleb Maclennan via arch-commits
Date: Tuesday, June 7, 2022 @ 08:59:51
  Author: alerque
Revision: 1228426

upgpkg: python-pypandoc 1.8.1-1

Modified:
  python-pypandoc/trunk/PKGBUILD

--+
 PKGBUILD |   17 ++---
 1 file changed, 6 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-07 08:55:10 UTC (rev 1228425)
+++ PKGBUILD2022-06-07 08:59:51 UTC (rev 1228426)
@@ -2,7 +2,7 @@
 # Maintainer: Caleb Maclennan 
 
 pkgname=python-pypandoc
-pkgver=1.7.5
+pkgver=1.8.1
 pkgrel=1
 pkgdesc="Thin wrapper for pandoc"
 arch=('any')
@@ -9,29 +9,24 @@
 license=('MIT')
 url="https://github.com/bebraw/pypandoc;
 depends=('pandoc')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-poetry' 'python-wheel')
 checkdepends=('texlive-core' 'texlive-latexextra')
 
source=("https://github.com/bebraw/pypandoc/archive/v$pkgver/$pkgname-$pkgver.tar.gz;)
-sha512sums=('87542996608c7418312f20b87b68106741a25125d77e4dac9cf17ee92d2b832fa13b87a7f9609064fbe5d1575c55f619c286769f121e260e69e720620b06d069')
+sha512sums=('3e2670254f7aa7e5a9b6ea0d19f8155dc712390b1bdf6df0b710b39c735ddafe3dfba009e92638843671bab2ec4b06c094026cc98f2eff51739112617bb49e87')
 
-prepare() {
-  # We don't really need pip and wheel at runtime
-  sed -i "/install_requires = /d" pypandoc-$pkgver/setup.py
-}
-
 build() {
   cd pypandoc-$pkgver
-  python setup.py build
+  python -m build -wn
 }
 
 check() {
   cd pypandoc-$pkgver
   # https://github.com/NicklasTegner/pypandoc/issues/278
-  python setup.py test || echo "Tests failed"
+  python tests.py || echo "Tests failed"
 }
 
 package() {
   cd pypandoc-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  python -m installer -d "$pkgdir" dist/*.whl
   install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }



[arch-commits] Commit in python-pypandoc/trunk (PKGBUILD)

2022-06-06 Thread Felix Yan via arch-commits
Date: Monday, June 6, 2022 @ 10:15:28
  Author: felixonmars
Revision: 1225652

upgpkg: python-pypandoc 1.7.5-1

Modified:
  python-pypandoc/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-06 10:14:58 UTC (rev 1225651)
+++ PKGBUILD2022-06-06 10:15:28 UTC (rev 1225652)
@@ -2,7 +2,7 @@
 # Maintainer: Caleb Maclennan 
 
 pkgname=python-pypandoc
-pkgver=1.7.4
+pkgver=1.7.5
 pkgrel=1
 pkgdesc="Thin wrapper for pandoc"
 arch=('any')
@@ -12,7 +12,7 @@
 makedepends=('python-setuptools')
 checkdepends=('texlive-core' 'texlive-latexextra')
 
source=("https://github.com/bebraw/pypandoc/archive/v$pkgver/$pkgname-$pkgver.tar.gz;)
-sha512sums=('9a31a0c1050ba8ae5b70a404893958da0d7d450a73d9d48fa344c08cc92a69d59b47d63d5d47e1ea060e1df840f68930a293e369b32b9255d67cc54bd26362c5')
+sha512sums=('87542996608c7418312f20b87b68106741a25125d77e4dac9cf17ee92d2b832fa13b87a7f9609064fbe5d1575c55f619c286769f121e260e69e720620b06d069')
 
 prepare() {
   # We don't really need pip and wheel at runtime



[arch-commits] Commit in python-pypandoc/trunk (PKGBUILD)

2022-05-13 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 03:52:14
  Author: felixonmars
Revision: 1203159

upgpkg: python-pypandoc 1.7.4-1

Modified:
  python-pypandoc/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-05-14 02:59:12 UTC (rev 1203158)
+++ PKGBUILD2022-05-14 03:52:14 UTC (rev 1203159)
@@ -2,7 +2,7 @@
 # Maintainer: Caleb Maclennan 
 
 pkgname=python-pypandoc
-pkgver=1.7.2
+pkgver=1.7.4
 pkgrel=1
 pkgdesc="Thin wrapper for pandoc"
 arch=('any')
@@ -12,7 +12,7 @@
 makedepends=('python-setuptools')
 checkdepends=('texlive-core' 'texlive-latexextra')
 
source=("https://github.com/bebraw/pypandoc/archive/v$pkgver/$pkgname-$pkgver.tar.gz;)
-sha512sums=('e2c5de6d56781484c306214a8757b18f7aa23e64489041ae3876ef8b2c0bf8771cc48246ecc97bf8ae67762364e35d9af5212ca6549f7b81ee16d75b1a85557e')
+sha512sums=('9a31a0c1050ba8ae5b70a404893958da0d7d450a73d9d48fa344c08cc92a69d59b47d63d5d47e1ea060e1df840f68930a293e369b32b9255d67cc54bd26362c5')
 
 prepare() {
   # We don't really need pip and wheel at runtime
@@ -26,7 +26,8 @@
 
 check() {
   cd pypandoc-$pkgver
-  python setup.py test
+  # https://github.com/NicklasTegner/pypandoc/issues/278
+  python setup.py test || echo "Tests failed"
 }
 
 package() {



[arch-commits] Commit in python-pypandoc/trunk (PKGBUILD)

2022-02-16 Thread Felix Yan via arch-commits
Date: Wednesday, February 16, 2022 @ 23:23:58
  Author: felixonmars
Revision: 1133574

upgpkg: python-pypandoc 1.7.2-1

Modified:
  python-pypandoc/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-02-16 23:06:00 UTC (rev 1133573)
+++ PKGBUILD2022-02-16 23:23:58 UTC (rev 1133574)
@@ -2,7 +2,7 @@
 # Maintainer: Caleb Maclennan 
 
 pkgname=python-pypandoc
-pkgver=1.7.0
+pkgver=1.7.2
 pkgrel=1
 pkgdesc="Thin wrapper for pandoc"
 arch=('any')
@@ -12,11 +12,11 @@
 makedepends=('python-setuptools')
 checkdepends=('texlive-core' 'texlive-latexextra')
 
source=("https://github.com/bebraw/pypandoc/archive/v$pkgver/$pkgname-$pkgver.tar.gz;)
-sha512sums=('41369c31392e1bae39545ab3d8e81060637f436bcdf6b59bac0071dede5890d9460485ae371509b9c0c7e334c3973ba2ba8b0906f2314420e787f0f9ff356239')
+sha512sums=('e2c5de6d56781484c306214a8757b18f7aa23e64489041ae3876ef8b2c0bf8771cc48246ecc97bf8ae67762364e35d9af5212ca6549f7b81ee16d75b1a85557e')
 
 prepare() {
   # We don't really need pip and wheel at runtime
-  sed -i "s/install_requires = .*/install_requires = ['setuptools'],/" 
pypandoc-$pkgver/setup.py
+  sed -i "/install_requires = /d" pypandoc-$pkgver/setup.py
 }
 
 build() {



[arch-commits] Commit in python-pypandoc/trunk (PKGBUILD)

2022-02-14 Thread Felix Yan via arch-commits
Date: Monday, February 14, 2022 @ 22:49:53
  Author: felixonmars
Revision: 1133265

upgpkg: python-pypandoc 1.7.0-1

Modified:
  python-pypandoc/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-02-14 22:48:03 UTC (rev 1133264)
+++ PKGBUILD2022-02-14 22:49:53 UTC (rev 1133265)
@@ -2,8 +2,8 @@
 # Maintainer: Caleb Maclennan 
 
 pkgname=python-pypandoc
-pkgver=1.6.4
-pkgrel=3
+pkgver=1.7.0
+pkgrel=1
 pkgdesc="Thin wrapper for pandoc"
 arch=('any')
 license=('MIT')
@@ -12,7 +12,7 @@
 makedepends=('python-setuptools')
 checkdepends=('texlive-core' 'texlive-latexextra')
 
source=("https://github.com/bebraw/pypandoc/archive/v$pkgver/$pkgname-$pkgver.tar.gz;)
-sha512sums=('f01a999040f48b858452d7de29fd0c44f7c247ff088fddfcd84ea47826327ce4572119e23a26bd929b6ff282d67974e23a61cdb5e4956ffd35af36cb991c199a')
+sha512sums=('41369c31392e1bae39545ab3d8e81060637f436bcdf6b59bac0071dede5890d9460485ae371509b9c0c7e334c3973ba2ba8b0906f2314420e787f0f9ff356239')
 
 prepare() {
   # We don't really need pip and wheel at runtime



[arch-commits] Commit in python-pypandoc/trunk (PKGBUILD)

2021-11-30 Thread Felix Yan via arch-commits
Date: Tuesday, November 30, 2021 @ 20:21:13
  Author: felixonmars
Revision: 1058078

upgpkg: python-pypandoc 1.6.4-2: Python 3.10 rebuild

Modified:
  python-pypandoc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-11-30 20:21:13 UTC (rev 1058077)
+++ PKGBUILD2021-11-30 20:21:13 UTC (rev 1058078)
@@ -3,7 +3,7 @@
 
 pkgname=python-pypandoc
 pkgver=1.6.4
-pkgrel=1
+pkgrel=2
 pkgdesc="Thin wrapper for pandoc"
 arch=('any')
 license=('MIT')



[arch-commits] Commit in python-pypandoc/trunk (PKGBUILD)

2021-09-17 Thread Felix Yan via arch-commits
Date: Friday, September 17, 2021 @ 13:35:07
  Author: felixonmars
Revision: 1016778

upgpkg: python-pypandoc 1.6.4-1

Modified:
  python-pypandoc/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-09-17 13:34:17 UTC (rev 1016777)
+++ PKGBUILD2021-09-17 13:35:07 UTC (rev 1016778)
@@ -2,8 +2,8 @@
 # Maintainer: Caleb Maclennan 
 
 pkgname=python-pypandoc
-pkgver=1.6.3
-pkgrel=2
+pkgver=1.6.4
+pkgrel=1
 pkgdesc="Thin wrapper for pandoc"
 arch=('any')
 license=('MIT')
@@ -11,8 +11,8 @@
 depends=('pandoc')
 makedepends=('python-setuptools')
 checkdepends=('texlive-core' 'texlive-latexextra')
-source=("https://github.com/bebraw/pypandoc/archive/$pkgver/$pkgname-$pkgver.tar.gz;)
-sha512sums=('b9e7d769aa75b96b7f04cce0cc93045f38434df88433c2bd392653fa744a28c96392777dfc0c0c96cfbc6a187be8ec64b9ac3491f8b5d346d949b4dde4a5')
+source=("https://github.com/bebraw/pypandoc/archive/v$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('f01a999040f48b858452d7de29fd0c44f7c247ff088fddfcd84ea47826327ce4572119e23a26bd929b6ff282d67974e23a61cdb5e4956ffd35af36cb991c199a')
 
 prepare() {
   # We don't really need pip and wheel at runtime



[arch-commits] Commit in python-pypandoc/trunk (PKGBUILD)

2021-08-23 Thread Caleb Maclennan via arch-commits
Date: Monday, August 23, 2021 @ 09:24:42
  Author: alerque
Revision: 1004319

upgpkg: python-pypandoc 1.6.3-2: Remove setuptools from depends; remove 
obsolete test skips; make reproducible

Modified:
  python-pypandoc/trunk/PKGBUILD

--+
 PKGBUILD |   15 ---
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-08-23 08:55:00 UTC (rev 1004318)
+++ PKGBUILD2021-08-23 09:24:42 UTC (rev 1004319)
@@ -1,14 +1,15 @@
 # Maintainer: Felix Yan 
+# Maintainer: Caleb Maclennan 
 
 pkgname=python-pypandoc
 pkgver=1.6.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Thin wrapper for pandoc"
 arch=('any')
 license=('MIT')
 url="https://github.com/bebraw/pypandoc;
-depends=('python-setuptools' 'pandoc')
-makedepends=('python-setuptools' 'pandoc')
+depends=('pandoc')
+makedepends=('python-setuptools')
 checkdepends=('texlive-core' 'texlive-latexextra')
 
source=("https://github.com/bebraw/pypandoc/archive/$pkgver/$pkgname-$pkgver.tar.gz;)
 
sha512sums=('b9e7d769aa75b96b7f04cce0cc93045f38434df88433c2bd392653fa744a28c96392777dfc0c0c96cfbc6a187be8ec64b9ac3491f8b5d346d949b4dde4a5')
@@ -25,12 +26,12 @@
 
 check() {
   cd pypandoc-$pkgver
-  # Ignore test failures now as pandoc-citeproc is deprecated and gone
-  python setup.py test || echo "Tests failed"
+  python setup.py test
 }
 
 package() {
   cd pypandoc-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  export PYTHONHASHSEED=0
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }



[arch-commits] Commit in python-pypandoc/trunk (PKGBUILD)

2021-07-15 Thread Felix Yan via arch-commits
Date: Friday, July 16, 2021 @ 04:03:02
  Author: felixonmars
Revision: 977468

upgpkg: python-pypandoc 1.6.3-1

Modified:
  python-pypandoc/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-16 04:02:33 UTC (rev 977467)
+++ PKGBUILD2021-07-16 04:03:02 UTC (rev 977468)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=python-pypandoc
-pkgver=1.6.2
+pkgver=1.6.3
 pkgrel=1
 pkgdesc="Thin wrapper for pandoc"
 arch=('any')
@@ -11,7 +11,7 @@
 makedepends=('python-setuptools' 'pandoc')
 checkdepends=('texlive-core' 'texlive-latexextra')
 
source=("https://github.com/bebraw/pypandoc/archive/$pkgver/$pkgname-$pkgver.tar.gz;)
-sha512sums=('982867ee1e0fb9f064c30b752ac9963c4eb8753e60d739472fe726f1cd566f544144aa2976643bf92a7927cd12e62785a0d9eae2ed35c5b186b0ffa9a70da319')
+sha512sums=('b9e7d769aa75b96b7f04cce0cc93045f38434df88433c2bd392653fa744a28c96392777dfc0c0c96cfbc6a187be8ec64b9ac3491f8b5d346d949b4dde4a5')
 
 prepare() {
   # We don't really need pip and wheel at runtime



[arch-commits] Commit in python-pypandoc/trunk (PKGBUILD)

2021-07-14 Thread Felix Yan via arch-commits
Date: Wednesday, July 14, 2021 @ 17:51:01
  Author: felixonmars
Revision: 977028

upgpkg: python-pypandoc 1.6.2-1

Modified:
  python-pypandoc/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-14 17:47:05 UTC (rev 977027)
+++ PKGBUILD2021-07-14 17:51:01 UTC (rev 977028)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=python-pypandoc
-pkgver=1.6.1
+pkgver=1.6.2
 pkgrel=1
 pkgdesc="Thin wrapper for pandoc"
 arch=('any')
@@ -11,7 +11,7 @@
 makedepends=('python-setuptools' 'pandoc')
 checkdepends=('texlive-core' 'texlive-latexextra')
 
source=("https://github.com/bebraw/pypandoc/archive/$pkgver/$pkgname-$pkgver.tar.gz;)
-sha512sums=('b5af221bb372dde2890a2b4aee5dd21d98e203d68f27e0ad4592ba6894e962eb0ed07b1166ffa11f26e015fc30b6b7c4834b85ca8e07e8c735bc5de1197df108')
+sha512sums=('982867ee1e0fb9f064c30b752ac9963c4eb8753e60d739472fe726f1cd566f544144aa2976643bf92a7927cd12e62785a0d9eae2ed35c5b186b0ffa9a70da319')
 
 prepare() {
   # We don't really need pip and wheel at runtime



[arch-commits] Commit in python-pypandoc/trunk (PKGBUILD)

2021-07-12 Thread Felix Yan via arch-commits
Date: Tuesday, July 13, 2021 @ 03:43:48
  Author: felixonmars
Revision: 976724

upgpkg: python-pypandoc 1.6.1-1

Modified:
  python-pypandoc/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-13 03:41:37 UTC (rev 976723)
+++ PKGBUILD2021-07-13 03:43:48 UTC (rev 976724)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=python-pypandoc
-pkgver=1.6
+pkgver=1.6.1
 pkgrel=1
 pkgdesc="Thin wrapper for pandoc"
 arch=('any')
@@ -11,7 +11,7 @@
 makedepends=('python-setuptools' 'pandoc')
 checkdepends=('texlive-core' 'texlive-latexextra')
 
source=("https://github.com/bebraw/pypandoc/archive/$pkgver/$pkgname-$pkgver.tar.gz;)
-sha512sums=('ccf508901e453c2d7e96a9bcec80f74f1ea9ac2e4bf3c4a61c0cf454ebcd7d03da0b794a292c6af8f6ab0738d4f7039985a0f37b97970c2cab5f2d9a360e16d7')
+sha512sums=('b5af221bb372dde2890a2b4aee5dd21d98e203d68f27e0ad4592ba6894e962eb0ed07b1166ffa11f26e015fc30b6b7c4834b85ca8e07e8c735bc5de1197df108')
 
 prepare() {
   # We don't really need pip and wheel at runtime



[arch-commits] Commit in python-pypandoc/trunk (PKGBUILD)

2021-07-06 Thread Felix Yan via arch-commits
Date: Wednesday, July 7, 2021 @ 01:16:22
  Author: felixonmars
Revision: 973722

upgpkg: python-pypandoc 1.6-1

Modified:
  python-pypandoc/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-07 01:15:54 UTC (rev 973721)
+++ PKGBUILD2021-07-07 01:16:22 UTC (rev 973722)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan 
 
 pkgname=python-pypandoc
-pkgver=1.5
-pkgrel=5
+pkgver=1.6
+pkgrel=1
 pkgdesc="Thin wrapper for pandoc"
 arch=('any')
 license=('MIT')
@@ -11,7 +11,7 @@
 makedepends=('python-setuptools' 'pandoc')
 checkdepends=('texlive-core' 'texlive-latexextra')
 
source=("https://github.com/bebraw/pypandoc/archive/$pkgver/$pkgname-$pkgver.tar.gz;)
-sha512sums=('bc1a18115827ac0868b887fa3c9be46736670de8f095cb49b444e61f66779497db9a08bdac0de30f821a64cd6bad195f1d3a29d0159e6e3ad050a78ca0ecea82')
+sha512sums=('ccf508901e453c2d7e96a9bcec80f74f1ea9ac2e4bf3c4a61c0cf454ebcd7d03da0b794a292c6af8f6ab0738d4f7039985a0f37b97970c2cab5f2d9a360e16d7')
 
 prepare() {
   # We don't really need pip and wheel at runtime



[arch-commits] Commit in python-pypandoc/trunk (PKGBUILD)

2021-03-20 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 08:50:42
  Author: felixonmars
Revision: 895998

upgpkg: python-pypandoc 1.5-5: remove pandoc-citeproc

Modified:
  python-pypandoc/trunk/PKGBUILD

--+
 PKGBUILD |   13 +++--
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 08:48:19 UTC (rev 895997)
+++ PKGBUILD2021-03-20 08:50:42 UTC (rev 895998)
@@ -2,7 +2,7 @@
 
 pkgname=python-pypandoc
 pkgver=1.5
-pkgrel=4
+pkgrel=5
 pkgdesc="Thin wrapper for pandoc"
 arch=('any')
 license=('MIT')
@@ -9,8 +9,8 @@
 url="https://github.com/bebraw/pypandoc;
 depends=('python-setuptools' 'pandoc')
 makedepends=('python-setuptools' 'pandoc')
-checkdepends=('texlive-core' 'texlive-latexextra' 'pandoc-citeproc')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/bebraw/pypandoc/archive/$pkgver.tar.gz;)
+checkdepends=('texlive-core' 'texlive-latexextra')
+source=("https://github.com/bebraw/pypandoc/archive/$pkgver/$pkgname-$pkgver.tar.gz;)
 
sha512sums=('bc1a18115827ac0868b887fa3c9be46736670de8f095cb49b444e61f66779497db9a08bdac0de30f821a64cd6bad195f1d3a29d0159e6e3ad050a78ca0ecea82')
 
 prepare() {
@@ -19,13 +19,14 @@
 }
 
 build() {
-  cd "$srcdir"/pypandoc-$pkgver
+  cd pypandoc-$pkgver
   python setup.py build
 }
 
 check() {
-  cd "$srcdir"/pypandoc-$pkgver
-  python setup.py test
+  cd pypandoc-$pkgver
+  # Ignore test failures now as pandoc-citeproc is deprecated and gone
+  python setup.py test || echo "Tests failed"
 }
 
 package() {