[arch-commits] Commit in marisa/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jan 2 13:56:05 UTC 2020
Date: Thursday, January 2, 2020 @ 13:56:04
Author: felixonmars
Revision: 546128
upgpkg: marisa 0.2.5-7
remove python2 binding
Modified:
marisa/trunk/PKGBUILD
----------+
PKGBUILD | 27 ++++-----------------------
1 file changed, 4 insertions(+), 23 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-02 13:55:50 UTC (rev 546127)
+++ PKGBUILD 2020-01-02 13:56:04 UTC (rev 546128)
@@ -2,14 +2,14 @@
# Contributor: ponsfoot <cabezon dot hashimoto at gmail dot com>
pkgbase=marisa
-pkgname=('marisa' 'perl-marisa' 'python2-marisa' 'ruby-marisa')
+pkgname=('marisa' 'perl-marisa' 'ruby-marisa')
pkgver=0.2.5
-pkgrel=6
+pkgrel=7
arch=('x86_64')
url="https://github.com/s-yata/marisa-trie"
license=('BSD' 'LGPL')
-makedepends=('python2' 'ruby' 'perl')
-source=("marisa-trie::https://github.com/s-yata/marisa-trie/archive/v$pkgver.tar.gz")
+makedepends=('ruby' 'perl')
+source=("marisa-trie-$pkgver::https://github.com/s-yata/marisa-trie/archive/v$pkgver.tar.gz")
sha512sums=('62975a2dacd2a1072c990cd490f866cd5483c069c94a4706baf3ffc21ec43991583a8ef8721c3b841617b0654cbb894698c19759ff12b8887b6fd28939dfb547')
prepare() {
@@ -38,13 +38,6 @@
LIBS=-L"$srcdir"/marisa-trie-$pkgver/lib/marisa/.libs
make
- # Python bindings
- cd "$srcdir"/marisa-trie-$pkgver/bindings/python
- python2 setup.py build_ext \
- --include-dirs="$srcdir"/marisa-trie-$pkgver/include \
- --library-dirs="$srcdir"/marisa-trie-$pkgver/lib/marisa/.libs
- python2 setup.py build
-
# Ruby bindings
cd "$srcdir"/marisa-trie-$pkgver/bindings/ruby
ruby extconf.rb \
@@ -80,18 +73,6 @@
install -m 644 AUTHORS COPYING.md "$pkgdir"/usr/share/licenses/$pkgname/
}
-package_python2-marisa() {
- pkgdesc="Python 2.x language binding for marisa"
- depends=('python2' 'marisa')
-
- cd marisa-trie-$pkgver/bindings/python
- python2 setup.py install -O1 --root="$pkgdir"
-
- cd ../..
- install -d "$pkgdir"/usr/share/licenses/$pkgname
- install -m 644 AUTHORS COPYING.md "$pkgdir"/usr/share/licenses/$pkgname/
-}
-
package_ruby-marisa() {
pkgdesc="Ruby language binding for marisa"
depends=('ruby' 'marisa')
More information about the arch-commits
mailing list