[arch-commits] Commit in python-filetype/repos/community-staging-any (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Dec 1 21:31:16 UTC 2021
Date: Wednesday, December 1, 2021 @ 21:31:16
Author: felixonmars
Revision: 1060736
archrelease: copy trunk to community-staging-any
Added:
python-filetype/repos/community-staging-any/PKGBUILD
(from rev 1060733, python-filetype/trunk/PKGBUILD)
Deleted:
python-filetype/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 30 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-01 21:31:15 UTC (rev 1060735)
+++ PKGBUILD 2021-12-01 21:31:16 UTC (rev 1060736)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-filetype
-pkgver=1.0.8
-pkgrel=2
-pkgdesc="Infer file type and MIME type of any file/buffer"
-url="https://github.com/h2non/filetype.py"
-license=('MIT')
-arch=('any')
-depends=('python')
-makedepends=('python-setuptools')
-source=("https://github.com/h2non/filetype.py/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('d461a0bb4de9d1dda29c6269abfa1feb692628029329a1b31ebfc3a02b7c01c16a6f3a0f261fbbee7ce6f78433a556212951fc9bfb9dfd674b86dc1bcc9e7786')
-
-build() {
- cd filetype.py-$pkgver
- python setup.py build
-}
-
-check() {
- cd filetype.py-$pkgver
- python -m unittest discover
-}
-
-package() {
- cd filetype.py-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-filetype/repos/community-staging-any/PKGBUILD (from rev 1060733, python-filetype/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-01 21:31:16 UTC (rev 1060736)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-filetype
+pkgver=1.0.8
+pkgrel=3
+pkgdesc="Infer file type and MIME type of any file/buffer"
+url="https://github.com/h2non/filetype.py"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://github.com/h2non/filetype.py/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('d461a0bb4de9d1dda29c6269abfa1feb692628029329a1b31ebfc3a02b7c01c16a6f3a0f261fbbee7ce6f78433a556212951fc9bfb9dfd674b86dc1bcc9e7786')
+
+build() {
+ cd filetype.py-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd filetype.py-$pkgver
+ python -m unittest discover
+}
+
+package() {
+ cd filetype.py-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list