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

Felix Yan felixonmars at archlinux.org
Fri May 11 09:25:43 UTC 2018


    Date: Friday, May 11, 2018 @ 09:25:43
  Author: felixonmars
Revision: 320648

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  121 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 61 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-11 09:25:20 UTC (rev 320647)
+++ PKGBUILD	2018-05-11 09:25:43 UTC (rev 320648)
@@ -1,60 +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.3
-pkgrel=1
-pkgdesc='Very fast asynchronous FTP server library'
-arch=('any')
-url='https://github.com/giampaolo/pyftpdlib/'
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools')
-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=('f0e56f170fa77e0866cbbead52ad52276ee45b6c3244557bc59cd2bf599934ae4414a684661d4d47f76098b3da19e23c1a037aaa07a6a81f8d1be14b90191517')
-
-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 || 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-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 320647, python-pyftpdlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-11 09:25:43 UTC (rev 320648)
@@ -0,0 +1,61 @@
+# $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=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=('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 || warning "Tests failed"
+
+  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}
+}



More information about the arch-commits mailing list