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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 19:52:09 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:52:08
  Author: foutrelis
Revision: 753665

archrelease: copy trunk to community-staging-x86_64

Added:
  pycosat/repos/community-staging-x86_64/
  pycosat/repos/community-staging-x86_64/PKGBUILD
    (from rev 753663, pycosat/trunk/PKGBUILD)

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

Copied: pycosat/repos/community-staging-x86_64/PKGBUILD (from rev 753663, pycosat/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-12 19:52:08 UTC (rev 753665)
@@ -0,0 +1,25 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Daniel Maslowski <info at orangecms.org>
+
+pkgbase=pycosat
+pkgname=(python-pycosat)
+pkgver=0.6.3
+pkgrel=4
+arch=(x86_64)
+url="https://github.com/ContinuumIO/pycosat"
+pkgdesc="Python bindings to picosat (a SAT solver)"
+license=(MIT)
+depends=(python)
+source=($pkgbase-$pkgver.tar.gz::https://github.com/ContinuumIO/$pkgbase/archive/$pkgver.tar.gz)
+sha256sums=('abcaf3d6afb332b0d8363590d0aaa81f00f71142900fbae2608f7d595d5e4492')
+
+build() {
+  cd $pkgbase-$pkgver
+  python setup.py build
+}
+
+package_python-pycosat() {
+  cd $pkgbase-$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