[arch-commits] Commit in python-sphinxcontrib-blockdiag/repos/community-staging-any (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 13:17:26 UTC 2020
Date: Thursday, November 12, 2020 @ 13:17:26
Author: foutrelis
Revision: 751744
archrelease: copy trunk to community-staging-any
Added:
python-sphinxcontrib-blockdiag/repos/community-staging-any/PKGBUILD
(from rev 751743, python-sphinxcontrib-blockdiag/trunk/PKGBUILD)
python-sphinxcontrib-blockdiag/repos/community-staging-any/ipafont-path.diff
(from rev 751743, python-sphinxcontrib-blockdiag/trunk/ipafont-path.diff)
Deleted:
python-sphinxcontrib-blockdiag/repos/community-staging-any/PKGBUILD
python-sphinxcontrib-blockdiag/repos/community-staging-any/ipafont-path.diff
-------------------+
PKGBUILD | 84 ++++++++++++++++++++++++++--------------------------
ipafont-path.diff | 26 ++++++++--------
2 files changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 13:17:23 UTC (rev 751743)
+++ PKGBUILD 2020-11-12 13:17:26 UTC (rev 751744)
@@ -1,42 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-
-pkgname=python-sphinxcontrib-blockdiag
-pkgver=2.0.0
-pkgrel=2
-pkgdesc='A sphinx extension for embedding block diagram using blockdiag'
-arch=(any)
-url='https://github.com/blockdiag/sphinxcontrib-blockdiag'
-license=(BSD)
-depends=(python blockdiag python-sphinx)
-makedepends=(python-setuptools)
-# otf-ipafont is used by test_latex
-checkdepends=(python-nose python-sphinx-testing python-mock python-reportlab otf-ipafont)
-optdepends=(
- 'python-reportlab: for using PDF as the format of images'
-)
-source=("https://github.com/blockdiag/sphinxcontrib-blockdiag/archive/$pkgver/$pkgname-$pkgver.tar.gz"
- ipafont-path.diff)
-sha256sums=('cc7385eb29c81b816ae761c75557ea52a624e51cf6a7456ba7d379ba7932de1a'
- 'cd127f6f66d49d91d1b8716b5361d917c354e8eed6b6817e037d2c2441b7e9e8')
-
-prepare() {
- cd sphinxcontrib-blockdiag-$pkgver
- patch -Np1 -i ../ipafont-path.diff
-}
-
-build() {
- cd sphinxcontrib-blockdiag-$pkgver
- python setup.py build
-}
-
-check() {
- cd sphinxcontrib-blockdiag-$pkgver
- # Running tests with 'nosetests' fails with issues around namespace packages
- python -m nose -v
-}
-
-package() {
- cd sphinxcontrib-blockdiag-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}
Copied: python-sphinxcontrib-blockdiag/repos/community-staging-any/PKGBUILD (from rev 751743, python-sphinxcontrib-blockdiag/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 13:17:26 UTC (rev 751744)
@@ -0,0 +1,42 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-sphinxcontrib-blockdiag
+pkgver=2.0.0
+pkgrel=3
+pkgdesc='A sphinx extension for embedding block diagram using blockdiag'
+arch=(any)
+url='https://github.com/blockdiag/sphinxcontrib-blockdiag'
+license=(BSD)
+depends=(python blockdiag python-sphinx)
+makedepends=(python-setuptools)
+# otf-ipafont is used by test_latex
+checkdepends=(python-nose python-sphinx-testing python-mock python-reportlab otf-ipafont)
+optdepends=(
+ 'python-reportlab: for using PDF as the format of images'
+)
+source=("https://github.com/blockdiag/sphinxcontrib-blockdiag/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+ ipafont-path.diff)
+sha256sums=('cc7385eb29c81b816ae761c75557ea52a624e51cf6a7456ba7d379ba7932de1a'
+ 'cd127f6f66d49d91d1b8716b5361d917c354e8eed6b6817e037d2c2441b7e9e8')
+
+prepare() {
+ cd sphinxcontrib-blockdiag-$pkgver
+ patch -Np1 -i ../ipafont-path.diff
+}
+
+build() {
+ cd sphinxcontrib-blockdiag-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd sphinxcontrib-blockdiag-$pkgver
+ # Running tests with 'nosetests' fails with issues around namespace packages
+ python -m nose -v
+}
+
+package() {
+ cd sphinxcontrib-blockdiag-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}
Deleted: ipafont-path.diff
===================================================================
--- ipafont-path.diff 2020-11-12 13:17:23 UTC (rev 751743)
+++ ipafont-path.diff 2020-11-12 13:17:26 UTC (rev 751744)
@@ -1,13 +0,0 @@
-diff --git a/tests/test_latex.py b/tests/test_latex.py
-index bcef06f..175b3ba 100644
---- a/tests/test_latex.py
-+++ b/tests/test_latex.py
-@@ -8,7 +8,7 @@ import unittest
-
- CR = "\r?\n"
-
--blockdiag_fontpath = '/usr/share/fonts/truetype/ipafont/ipagp.ttf'
-+blockdiag_fontpath = '/usr/share/fonts/OTF/ipagp.ttf'
- with_png_app = with_app(srcdir='tests/docs/basic',
- buildername='latex',
- write_docstring=True,
Copied: python-sphinxcontrib-blockdiag/repos/community-staging-any/ipafont-path.diff (from rev 751743, python-sphinxcontrib-blockdiag/trunk/ipafont-path.diff)
===================================================================
--- ipafont-path.diff (rev 0)
+++ ipafont-path.diff 2020-11-12 13:17:26 UTC (rev 751744)
@@ -0,0 +1,13 @@
+diff --git a/tests/test_latex.py b/tests/test_latex.py
+index bcef06f..175b3ba 100644
+--- a/tests/test_latex.py
++++ b/tests/test_latex.py
+@@ -8,7 +8,7 @@ import unittest
+
+ CR = "\r?\n"
+
+-blockdiag_fontpath = '/usr/share/fonts/truetype/ipafont/ipagp.ttf'
++blockdiag_fontpath = '/usr/share/fonts/OTF/ipagp.ttf'
+ with_png_app = with_app(srcdir='tests/docs/basic',
+ buildername='latex',
+ write_docstring=True,
More information about the arch-commits
mailing list