[arch-commits] Commit in python-mimeparse/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 31 16:53:00 UTC 2019
Date: Thursday, October 31, 2019 @ 16:53:00
Author: foutrelis
Revision: 521185
archrelease: copy trunk to community-staging-any
Added:
python-mimeparse/repos/community-staging-any/PKGBUILD
(from rev 521184, python-mimeparse/trunk/PKGBUILD)
Deleted:
python-mimeparse/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 16:52:55 UTC (rev 521184)
+++ PKGBUILD 2019-10-31 16:53:00 UTC (rev 521185)
@@ -1,49 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-mimeparse
-pkgname=(python-mimeparse python2-mimeparse)
-pkgver=1.6.0
-pkgrel=4
-pkgdesc='Module of basic functions for parsing mime-type names and matching them against a list of media-ranges'
-arch=('any')
-url="https://github.com/dbtsai/python-mimeparse"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-source=("git+https://github.com/dbtsai/python-mimeparse#tag=$pkgver")
-sha512sums=('SKIP')
-
-prepare() {
- cp -a python-mimeparse{,-py2}
-}
-
-build() {
- cd "$srcdir"/python-mimeparse
- python setup.py build
-
- cd "$srcdir"/python-mimeparse-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/python-mimeparse
- python mimeparse_test.py
-
- cd "$srcdir"/python-mimeparse-py2
- python2 mimeparse_test.py
-}
-
-package_python-mimeparse() {
- depends=('python')
-
- cd python-mimeparse
- python setup.py install -O1 --root "$pkgdir"
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-mimeparse() {
- depends=('python2')
-
- cd python-mimeparse-py2
- python2 setup.py install -O1 --root "$pkgdir"
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-mimeparse/repos/community-staging-any/PKGBUILD (from rev 521184, python-mimeparse/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 16:53:00 UTC (rev 521185)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-mimeparse
+pkgname=(python-mimeparse python2-mimeparse)
+pkgver=1.6.0
+pkgrel=5
+pkgdesc='Module of basic functions for parsing mime-type names and matching them against a list of media-ranges'
+arch=('any')
+url="https://github.com/dbtsai/python-mimeparse"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+source=("git+https://github.com/dbtsai/python-mimeparse#tag=$pkgver")
+sha512sums=('SKIP')
+
+prepare() {
+ cp -a python-mimeparse{,-py2}
+}
+
+build() {
+ cd "$srcdir"/python-mimeparse
+ python setup.py build
+
+ cd "$srcdir"/python-mimeparse-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/python-mimeparse
+ python mimeparse_test.py
+
+ cd "$srcdir"/python-mimeparse-py2
+ python2 mimeparse_test.py
+}
+
+package_python-mimeparse() {
+ depends=('python')
+
+ cd python-mimeparse
+ python setup.py install -O1 --root "$pkgdir"
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-mimeparse() {
+ depends=('python2')
+
+ cd python-mimeparse-py2
+ python2 setup.py install -O1 --root "$pkgdir"
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list