[arch-commits] Commit in sugar-datastore/repos (3 files)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Dec 1 11:44:57 UTC 2021
Date: Wednesday, December 1, 2021 @ 11:44:57
Author: felixonmars
Revision: 1059244
archrelease: copy trunk to community-staging-x86_64
Added:
sugar-datastore/repos/community-staging-x86_64/
sugar-datastore/repos/community-staging-x86_64/PKGBUILD
(from rev 1059243, sugar-datastore/trunk/PKGBUILD)
sugar-datastore/repos/community-staging-x86_64/python310.patch
(from rev 1059243, sugar-datastore/trunk/python310.patch)
-----------------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
python310.patch | 12 ++++++++++++
2 files changed, 42 insertions(+)
Copied: sugar-datastore/repos/community-staging-x86_64/PKGBUILD (from rev 1059243, sugar-datastore/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-12-01 11:44:57 UTC (rev 1059244)
@@ -0,0 +1,30 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=sugar-datastore
+pkgver=0.118
+pkgrel=2
+pkgdesc="Sugar datastore service"
+arch=('x86_64')
+url="https://sugarlabs.org/"
+license=('GPL')
+depends=('python-dbus' 'python-gobject' 'python-xapian')
+source=(https://download.sugarlabs.org/sources/sucrose/glucose/$pkgname/$pkgname-$pkgver.tar.xz
+ python310.patch)
+sha256sums=('da6ac9f8ac4b945db1b286b9f4d46845bd90dd78b51d121556cf2b81541dc087'
+ 'ab1cf0024c0d1d1c91af037b6dcb2397c197070fd5d5a7bd4dc8948a40b5b520')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i ../python310.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Copied: sugar-datastore/repos/community-staging-x86_64/python310.patch (from rev 1059243, sugar-datastore/trunk/python310.patch)
===================================================================
--- community-staging-x86_64/python310.patch (rev 0)
+++ community-staging-x86_64/python310.patch 2021-12-01 11:44:57 UTC (rev 1059244)
@@ -0,0 +1,12 @@
+diff -upr sugar-datastore-0.118.orig/configure sugar-datastore-0.118/configure
+--- sugar-datastore-0.118.orig/configure 2020-12-17 03:51:53.000000000 +0200
++++ sugar-datastore-0.118/configure 2021-12-01 13:39:33.030877076 +0200
+@@ -12035,7 +12035,7 @@ $as_echo_n "checking for $am_display_PYT
+ if ${am_cv_python_version+:} false; then :
+ $as_echo_n "(cached) " >&6
+ else
+- am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
++ am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write('{0}.{1}'.format(sys.version_info.major, sys.version_info.minor))"`
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
+ $as_echo "$am_cv_python_version" >&6; }
More information about the arch-commits
mailing list