[arch-commits] Commit in python-pymysql/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Sat Mar 7 18:39:26 UTC 2020


    Date: Saturday, March 7, 2020 @ 18:39:26
  Author: dvzrv
Revision: 591253

archrelease: copy trunk to community-any

Added:
  python-pymysql/repos/community-any/PKGBUILD
    (from rev 591252, python-pymysql/trunk/PKGBUILD)
Deleted:
  python-pymysql/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   89 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-07 18:39:16 UTC (rev 591252)
+++ PKGBUILD	2020-03-07 18:39:26 UTC (rev 591253)
@@ -1,44 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=PyMySQL
-pkgname=python-pymysql
-pkgver=0.9.3
-pkgrel=2
-pkgdesc="Pure Python MySQL Client"
-arch=('any')
-url="https://github.com/PyMySQL/PyMySQL/"
-license=('MIT')
-depends=('mariadb' 'python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-optdepends=('python-cryptography: for cryptography')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('2056bc4aca7a600ca50214b399edc6f3068b288c426aecb115db148f645b0ec7e9a1a7134cf67f39d4820ea59a925dc1ce3ed0e383fb5e16e0651e87449824f9')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-# the tests are integration tests and can only be run with a running and
-# configured mariadb server
-# check() {
-#   cd "$pkgname-$pkgver"
-#   export PYTHONPATH="build:${PYTHONPATH}"
-#   pytest -v pymysql/tests
-# }
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 {CHANGELOG,README.rst,example.py} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: python-pymysql/repos/community-any/PKGBUILD (from rev 591252, python-pymysql/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-07 18:39:26 UTC (rev 591253)
@@ -0,0 +1,45 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=PyMySQL
+pkgname=python-pymysql
+pkgver=0.9.3
+pkgrel=3
+pkgdesc="Pure Python MySQL Client"
+arch=('any')
+url="https://github.com/PyMySQL/PyMySQL/"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'mariadb')
+optdepends=('mariadb: for using a local MariaDB instance'
+            'python-cryptography: for cryptography')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('2056bc4aca7a600ca50214b399edc6f3068b288c426aecb115db148f645b0ec7e9a1a7134cf67f39d4820ea59a925dc1ce3ed0e383fb5e16e0651e87449824f9')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+# the tests are integration tests and can only be run with a running and
+# configured mariadb server
+# check() {
+#   cd "$pkgname-$pkgver"
+#   export PYTHONPATH="build:${PYTHONPATH}"
+#   pytest -v pymysql/tests
+# }
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 {CHANGELOG,README.rst,example.py} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}



More information about the arch-commits mailing list