Skip to content

Commit bd61d2f

Browse files
committed
vanilla xapian now supports python3.5 out of the box
1 parent 2220cf3 commit bd61d2f

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM base/archlinux
33

44
MAINTAINER Markus Blöchl <blochl@in.tum.de>
55

6-
ENV ARCH_DATE 04.10.2015
6+
ENV ARCH_DATE 04.11.2015
77

88
RUN pacman -Sy && \
99
pacman-db-upgrade && \

PKGBUILD

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ pkgver() {
2929

3030
prepare() {
3131
cd "$srcdir/$_name"
32-
local py_minor=$(python3 -c 'import sys;print(sys.version_info.minor)')
33-
if [ "$py_minor" -ge 5 ]; then
34-
sed -i -e "s/'module' object has no attribute/module 'xapian' has no attribute/" xapian-bindings/python3/smoketest.py
35-
sed -i -e 's/.pyo/.opt-1.pyc/g' xapian-bindings/python3/Makefile.am
36-
fi
3732
}
3833

3934
build() {
@@ -52,8 +47,6 @@ check() {
5247

5348
package() {
5449
cd "$srcdir/$_name"
55-
#cp xapian-bindings/python3/xapian/__pycache__/__init__.cpython-35.{opt-1.pyc,pyo}
5650
make DESTDIR="$pkgdir/" install
57-
#mv $pkgdir/usr/lib/python3.5/site-packages/xapian/__init__.cpython-35.{pyo,opt-1.pyc}
5851
}
5952

0 commit comments

Comments
 (0)