Date: Sunday, May 16, 2021 @ 21:54:16
  Author: kpcyrd
Revision: 935957

archrelease: copy trunk to community-any

Added:
  ponysay/repos/community-any/PKGBUILD
    (from rev 935956, ponysay/trunk/PKGBUILD)
  ponysay/repos/community-any/fix-do-not-compare-literal.patch
    (from rev 935956, ponysay/trunk/fix-do-not-compare-literal.patch)
Deleted:
  ponysay/repos/community-any/PKGBUILD
  ponysay/repos/community-any/fix-do-not-compare-literal.patch

----------------------------------+
 PKGBUILD                         |   64 ++++++++++++++++++--------------
 fix-do-not-compare-literal.patch |   72 ++++++++++++++++++-------------------
 2 files changed, 72 insertions(+), 64 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2021-05-16 21:53:59 UTC (rev 935956)
+++ PKGBUILD    2021-05-16 21:54:16 UTC (rev 935957)
@@ -1,28 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com>
-# Contributor: Erkin Batu Altunbaş <erkinb...@gmail.com>
-
-pkgname=ponysay
-pkgver=3.0.3
-pkgrel=3
-pkgdesc="cowsay reimplemention for ponies"
-url="http://erkin.github.com/ponysay/";
-arch=('any')
-license=('GPL3')
-depends=('python' 'bash')
-makedepends=('git')
-source=("ponysay-$pkgver.tar.gz::https://github.com/erkin/ponysay/tarball/$pkgver";
-        fix-do-not-compare-literal.patch)
-sha512sums=('ee4340b3a4902465217fcf0e0a31acf2771697ebfff9ce1897d5e0062782efd36ceb91672a6eb45a9b70aeb7f50f48e2ebd7671dab3cf5af1ec4043f2767edd7'
-            
'372e26a1293d05a37821a5edcbfc2ebb41d751ba4226fa503c07e815c1bb32b6c000293c584babd96e48614bf3b9c4321deb8b28587a37a56783a434615ddeb5')
-
-prepare() {
-  cd "$srcdir/erkin-ponysay-"*
-
-  patch -Np1 -i "$srcdir"/fix-do-not-compare-literal.patch
-}
-
-package() {
-  cd "$srcdir/erkin-ponysay-"*
-
-  python3 setup.py --prefix=/usr --dest-dir="$pkgdir" --freedom=partial 
--everything --with-pdf=/usr/share/doc/ponysay --without-pdf-compression install
-}

Copied: ponysay/repos/community-any/PKGBUILD (from rev 935956, 
ponysay/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2021-05-16 21:54:16 UTC (rev 935957)
@@ -0,0 +1,36 @@
+# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com>
+# Contributor: Erkin Batu Altunbaş <erkinb...@gmail.com>
+
+pkgname=ponysay
+pkgver=3.0.3
+pkgrel=4
+pkgdesc="cowsay reimplemention for ponies"
+url="https://github.com/erkin/ponysay";
+arch=('any')
+license=('GPL3')
+depends=('python' 'bash')
+makedepends=('git')
+source=(https://github.com/erkin/${pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
+        fix-do-not-compare-literal.patch)
+sha512sums=('d6ff905404192bdc207952a4a914458d7f25ddcfcea95763ae277a2a3bc7ab33e86a0a229c1b10ff7295b7a89d6e1b61406feefb6bdf9026f4076d0ed70dbe93'
+            
'372e26a1293d05a37821a5edcbfc2ebb41d751ba4226fa503c07e815c1bb32b6c000293c584babd96e48614bf3b9c4321deb8b28587a37a56783a434615ddeb5')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  patch -Np1 -i ../fix-do-not-compare-literal.patch
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  export PYTHONHASHSEED=0
+  python setup.py build --freedom=partial --everything
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py --prefix=/usr --dest-dir="${pkgdir}" --freedom=partial 
--everything \
+    --with-pdf=/usr/share/doc/ponysay --without-pdf-compression \
+    --without-info-compression  \
+    --without-man-compression \
+    install
+}

Deleted: fix-do-not-compare-literal.patch
===================================================================
--- fix-do-not-compare-literal.patch    2021-05-16 21:53:59 UTC (rev 935956)
+++ fix-do-not-compare-literal.patch    2021-05-16 21:54:16 UTC (rev 935957)
@@ -1,36 +0,0 @@
-From 69c23e3ae1e1e9e9f1ee3a06a706d755a4b1de48 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?M=C3=93ZES=20=C3=81d=C3=A1m=20Istv=C3=A1n?=
- <mozes.adam.ist...@pm.me>
-Date: Sat, 16 Nov 2019 09:58:28 +0100
-Subject: [PATCH] fix: do not compare literal with "is not"
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Python3.8 issued the following warning on each ponysay invocation:
-
-/bin/ponysay/backend.py:294: SyntaxWarning: "is not" with a literal. Did you 
mean "!="?
-
-This has been corrected here.
-
-Signed-off-by: MÓZES Ádám István <mozes.adam.ist...@pm.me>
----
- src/backend.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/backend.py b/src/backend.py
-index 2cc539a5..82ff1496 100644
---- a/src/backend.py
-+++ b/src/backend.py
-@@ -291,7 +291,7 @@ class Backend():
-                         props = dollar[7:]
-                         if len(props) > 0:
-                             if ',' in props:
--                                if props[0] is not ',':
-+                                if props[0] != ',':
-                                     w = props[:props.index(',')]
-                                 h = int(props[props.index(',') + 1:])
-                             else:
--- 
-2.25.1
-

Copied: ponysay/repos/community-any/fix-do-not-compare-literal.patch (from rev 
935956, ponysay/trunk/fix-do-not-compare-literal.patch)
===================================================================
--- fix-do-not-compare-literal.patch                            (rev 0)
+++ fix-do-not-compare-literal.patch    2021-05-16 21:54:16 UTC (rev 935957)
@@ -0,0 +1,36 @@
+From 69c23e3ae1e1e9e9f1ee3a06a706d755a4b1de48 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?M=C3=93ZES=20=C3=81d=C3=A1m=20Istv=C3=A1n?=
+ <mozes.adam.ist...@pm.me>
+Date: Sat, 16 Nov 2019 09:58:28 +0100
+Subject: [PATCH] fix: do not compare literal with "is not"
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Python3.8 issued the following warning on each ponysay invocation:
+
+/bin/ponysay/backend.py:294: SyntaxWarning: "is not" with a literal. Did you 
mean "!="?
+
+This has been corrected here.
+
+Signed-off-by: MÓZES Ádám István <mozes.adam.ist...@pm.me>
+---
+ src/backend.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/backend.py b/src/backend.py
+index 2cc539a5..82ff1496 100644
+--- a/src/backend.py
++++ b/src/backend.py
+@@ -291,7 +291,7 @@ class Backend():
+                         props = dollar[7:]
+                         if len(props) > 0:
+                             if ',' in props:
+-                                if props[0] is not ',':
++                                if props[0] != ',':
+                                     w = props[:props.index(',')]
+                                 h = int(props[props.index(',') + 1:])
+                             else:
+-- 
+2.25.1
+

Reply via email to