[arch-commits] Commit in python-volatile/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 14:58:07 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:58:06
  Author: felixonmars
Revision: 1059613

archrelease: copy trunk to community-staging-any

Added:
  python-volatile/repos/community-staging-any/
  python-volatile/repos/community-staging-any/PKGBUILD
    (from rev 1059610, python-volatile/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: python-volatile/repos/community-staging-any/PKGBUILD (from rev 1059610, python-volatile/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 14:58:06 UTC (rev 1059613)
@@ -0,0 +1,27 @@
+# Maintainer:
+
+_pkgname=volatile
+pkgname=python-volatile
+pkgver=2.1.0
+pkgrel=2
+pkgdesc="A small extension for the tempfile module"
+arch=('any')
+url="https://github.com/mbr/volatile"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('9be36ad508e3354e016c115de0397dc2203b9800a73d9d177ca9d37a8d3a31d3')
+b2sums=('b68e31de831cfdf1aad2ec0d65023c58ed8730e6e8e720bb074b0201f1f7e438d82d4acf1d74227b493c1f05b22ce3981197a2f798e5ff7fe7d1f4e6c08ee60f')
+
+build(){
+    cd $_pkgname-$pkgver
+
+    python setup.py build
+}
+
+package() {
+    cd $_pkgname-$pkgver
+
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list