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

Felix Yan felixonmars at archlinux.org
Mon Jun 24 17:51:04 UTC 2019


    Date: Monday, June 24, 2019 @ 17:51:04
  Author: felixonmars
Revision: 483628

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  123 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 62 insertions(+), 61 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-24 17:50:54 UTC (rev 483627)
+++ PKGBUILD	2019-06-24 17:51:04 UTC (rev 483628)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Thomas S Hatch <thatch45 at gmail.com>
-
-pkgbase=python-pyftpdlib
-pkgname=('python-pyftpdlib' 'python2-pyftpdlib')
-pkgver=1.5.4
-pkgrel=2
-pkgdesc='Very fast asynchronous FTP server library'
-arch=('any')
-url='https://github.com/giampaolo/pyftpdlib/'
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pysendfile' 'python2-pysendfile')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 'python2-mock'
-              'python-pyopenssl' 'python2-pyopenssl' 'python-psutil' 'python2-psutil')
-source=("https://pypi.io/packages/source/p/pyftpdlib/pyftpdlib-$pkgver.tar.gz")
-sha512sums=('6eb308021dad28c1c51a88b366947a71b7bc1802571dc14cedf3a264bd0cb8504ef990d7e3110d10709f971d4d5b0001bee859b58fb4d02a1b0d46532acc9295')
-
-prepare() {
-  cp -a pyftpdlib-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/pyftpdlib-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/pyftpdlib-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/pyftpdlib-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/pyftpdlib-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-pyftpdlib() {
-  depends=('python')
-  optdepends=('python-pyopenssl: FTPS support'
-              'python-psutil: to keep track of FTP server memory usage')
-
-  cd pyftpdlib-$pkgver
-  python setup.py install --root="$pkgdir" -O1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pyftpdlib() {
-  depends=('python2')
-  optdepends=('python2-pyopenssl: FTPS support'
-              'python2-pysendfile: Speed up file transfers'
-              'python2-psutil: to keep track of FTP server memory usage')
-
-  cd pyftpdlib-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" -O1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  mv "$pkgdir"/usr/bin/ftpbench{,2}
-}

Copied: python-pyftpdlib/repos/community-any/PKGBUILD (from rev 483627, python-pyftpdlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-24 17:51:04 UTC (rev 483628)
@@ -0,0 +1,62 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Thomas S Hatch <thatch45 at gmail.com>
+
+pkgbase=python-pyftpdlib
+pkgname=('python-pyftpdlib' 'python2-pyftpdlib')
+pkgver=1.5.5
+pkgrel=1
+pkgdesc='Very fast asynchronous FTP server library'
+arch=('any')
+url='https://github.com/giampaolo/pyftpdlib/'
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pysendfile' 'python2-pysendfile')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 'python2-mock'
+              'python-pyopenssl' 'python2-pyopenssl' 'python-psutil' 'python2-psutil')
+source=("https://pypi.io/packages/source/p/pyftpdlib/pyftpdlib-$pkgver.tar.gz")
+sha512sums=('27427154f893812f689adf3a9ceb4ec2d8f0ea7a4bf7b08671dc146c95f09ddd596a27c85e009d8d6647277def48c0bf0a8b76fb3fba5818eda3dfdc6c10795e')
+
+prepare() {
+  cp -a pyftpdlib-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/pyftpdlib-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/pyftpdlib-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  # https://github.com/giampaolo/pyftpdlib/issues/500
+
+  cd "$srcdir"/pyftpdlib-$pkgver
+  python setup.py pytest || warning "Tests failed"
+
+  cd "$srcdir"/pyftpdlib-$pkgver-py2
+  python2 setup.py pytest || warning "Tests failed"
+}
+
+package_python-pyftpdlib() {
+  depends=('python')
+  optdepends=('python-pyopenssl: FTPS support'
+              'python-psutil: to keep track of FTP server memory usage')
+
+  cd pyftpdlib-$pkgver
+  python setup.py install --root="$pkgdir" -O1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pyftpdlib() {
+  depends=('python2')
+  optdepends=('python2-pyopenssl: FTPS support'
+              'python2-pysendfile: Speed up file transfers'
+              'python2-psutil: to keep track of FTP server memory usage')
+
+  cd pyftpdlib-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" -O1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  mv "$pkgdir"/usr/bin/ftpbench{,2}
+}



More information about the arch-commits mailing list