[arch-commits] Commit in python-ipy/repos/community-staging-any (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 31 17:04:23 UTC 2019
Date: Thursday, October 31, 2019 @ 17:04:23
Author: foutrelis
Revision: 521251
archrelease: copy trunk to community-staging-any
Added:
python-ipy/repos/community-staging-any/PKGBUILD
(from rev 521250, python-ipy/trunk/PKGBUILD)
Deleted:
python-ipy/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 17:04:18 UTC (rev 521250)
+++ PKGBUILD 2019-10-31 17:04:23 UTC (rev 521251)
@@ -1,40 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-
-_name=IPy
-pkgname=python-ipy
-pkgver=1.00
-pkgrel=2
-pkgdesc="Class and tools for handling of IPv4 and IPv6 addresses and networks"
-arch=('any')
-url="https://github.com/autocracy/python-ipy"
-license=('BSD')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('94a8f26cad0d966fdf8d4e57284eadf4cfde88515af6f5aafc8f9597eb0758324b876039d1a121021ba1ac26be2e2ffa89a3f5803dddefdee03fdb5d65b07a81')
-
-prepare() {
- mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- python setup.py build
-}
-
-check() {
- cd "$pkgname-$pkgver"
- py.test
-}
-
-package() {
- cd "$pkgname-$pkgver"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
- install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -vDm 644 {AUTHORS,ChangeLog,README.rst} \
- -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
Copied: python-ipy/repos/community-staging-any/PKGBUILD (from rev 521250, python-ipy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 17:04:23 UTC (rev 521251)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+
+_name=IPy
+pkgname=python-ipy
+pkgver=1.00
+pkgrel=3
+pkgdesc="Class and tools for handling of IPv4 and IPv6 addresses and networks"
+arch=('any')
+url="https://github.com/autocracy/python-ipy"
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('94a8f26cad0d966fdf8d4e57284eadf4cfde88515af6f5aafc8f9597eb0758324b876039d1a121021ba1ac26be2e2ffa89a3f5803dddefdee03fdb5d65b07a81')
+
+prepare() {
+ mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ py.test
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+ install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -vDm 644 {AUTHORS,ChangeLog,README.rst} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list