[arch-commits] Commit in python-certifi/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Oct 31 17:42:03 UTC 2019
Date: Thursday, October 31, 2019 @ 17:42:02
Author: felixonmars
Revision: 521387
archrelease: copy trunk to community-staging-any
Added:
python-certifi/repos/community-staging-any/PKGBUILD
(from rev 521386, python-certifi/trunk/PKGBUILD)
Deleted:
python-certifi/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 17:41:50 UTC (rev 521386)
+++ PKGBUILD 2019-10-31 17:42:02 UTC (rev 521387)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Contributor: William J Bowman <bluephoenix47 at gmail.com>
-
-pkgbase=python-certifi
-pkgname=('python-certifi' 'python2-certifi')
-_libname=${pkgbase/python-/}
-pkgver=2019.6.16
-pkgrel=2
-pkgdesc="Python package for providing Mozilla's CA Bundle"
-arch=(any)
-url="https://pypi.python.org/pypi/certifi"
-license=('GPL')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://pypi.io/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz")
-sha512sums=('4641626bc5073cd0b3a520855ddef1007dcb42933baa7a3469856f936e725581042bcbd5b67e984ba9748e7faa62b9125cba7dc160dcc5db2eafe46461a29f5e')
-
-prepare() {
- cp -a $_libname-$pkgver{,-py2}
-
- cd $_libname-$pkgver-py2
- sed -i '1s|python$|python2|' certifi/core.py
-}
-
-build() {
- cd "$srcdir/$_libname-$pkgver"
- python setup.py build
-
- cd "$srcdir/$_libname-$pkgver-py2"
- python2 setup.py build
-}
-
-package_python-certifi() {
- depends=('python')
-
- cd "$srcdir/$_libname-$pkgver"
- python setup.py install --skip-build -O1 --root="$pkgdir"
- install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-certifi() {
- depends=('python2')
-
- cd "$srcdir/$_libname-$pkgver-py2"
- python2 setup.py install --skip-build -O1 --root="$pkgdir"
- install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: python-certifi/repos/community-staging-any/PKGBUILD (from rev 521386, python-certifi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 17:42:02 UTC (rev 521387)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: William J Bowman <bluephoenix47 at gmail.com>
+
+pkgbase=python-certifi
+pkgname=('python-certifi' 'python2-certifi')
+_libname=${pkgbase/python-/}
+pkgver=2019.6.16
+pkgrel=3
+pkgdesc="Python package for providing Mozilla's CA Bundle"
+arch=(any)
+url="https://pypi.python.org/pypi/certifi"
+license=('GPL')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.io/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz")
+sha512sums=('4641626bc5073cd0b3a520855ddef1007dcb42933baa7a3469856f936e725581042bcbd5b67e984ba9748e7faa62b9125cba7dc160dcc5db2eafe46461a29f5e')
+
+prepare() {
+ cp -a $_libname-$pkgver{,-py2}
+
+ cd $_libname-$pkgver-py2
+ sed -i '1s|python$|python2|' certifi/core.py
+}
+
+build() {
+ cd "$srcdir/$_libname-$pkgver"
+ python setup.py build
+
+ cd "$srcdir/$_libname-$pkgver-py2"
+ python2 setup.py build
+}
+
+package_python-certifi() {
+ depends=('python')
+
+ cd "$srcdir/$_libname-$pkgver"
+ python setup.py install --skip-build -O1 --root="$pkgdir"
+ install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-certifi() {
+ depends=('python2')
+
+ cd "$srcdir/$_libname-$pkgver-py2"
+ python2 setup.py install --skip-build -O1 --root="$pkgdir"
+ install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list