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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:22:00 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:22:00
  Author: felixonmars
Revision: 1058118

archrelease: copy trunk to community-staging-any

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

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

Copied: python-d2to1/repos/community-staging-any/PKGBUILD (from rev 1058116, python-d2to1/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:22:00 UTC (rev 1058118)
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Limao Luo <luolimao+AUR at gmail.com>
+
+pkgname=python-d2to1
+pkgver=0.2.12.post1
+pkgrel=10
+pkgdesc="Python library that allows using distutils2-like setup.cfg files for a package's metadata with a distribute/setuptools setup.py script"
+arch=('any')
+url='https://pypi.python.org/pypi/d2to1'
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+source=(https://files.pythonhosted.org/packages/source/d/d2to1/d2to1-$pkgver.tar.gz)
+sha512sums=('89890afc78b21d78f42ef5c920d377cd58075829e025c512d86138d52943ce8b71d1245bf267f76f775c6a69bf81bf9881322bd64b0e75ae088134e6b66f4d2d')
+
+build() {
+  cd d2to1-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd d2to1-$pkgver
+  python setup.py install --prefix=/usr --root="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list