mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
pgi: remove unused package
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2020-present Team CoreELEC (https://coreelec.org)
|
||||
|
||||
PKG_NAME="pgi"
|
||||
PKG_VERSION="0.0.11.2"
|
||||
PKG_SHA256="7a1ca8ac4e8bee6b663e6d556ecda8032584de753acd76ab3fc21c4f874fa738"
|
||||
PKG_LICENSE="LGPL"
|
||||
PKG_SITE="https://github.com/pygobject/pgi"
|
||||
PKG_URL="https://github.com/pygobject/pgi/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain Python3"
|
||||
PKG_LONGDESC="GObject Introspection bindings written in pure Python using ctypes and cffi (optional). API compatible with PyGObject."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
pre_make_target() {
|
||||
export PYTHONXCPREFIX="${SYSROOT_PREFIX}/usr"
|
||||
}
|
||||
|
||||
make_target() {
|
||||
exec_thread_safe python3 setup.py build
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
exec_thread_safe python3 setup.py install --root=${INSTALL} --prefix=/usr
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
find ${INSTALL}/usr/lib -name "*.py" -exec rm -rf "{}" ";"
|
||||
rm -rf ${INSTALL}/usr/lib/python*/site-packages/*/tests
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
From 40f45d7f4a49ec1e66acec5d5ff1ce10c94a99ce Mon Sep 17 00:00:00 2001
|
||||
From: Portisch <hugo.portisch@yahoo.de>
|
||||
Date: Wed, 25 Nov 2020 13:41:14 +0100
|
||||
Subject: [PATCH] remove 'type' as it's not Python 3 compatible
|
||||
|
||||
---
|
||||
pgi/clib/_utils.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pgi/clib/_utils.py b/pgi/clib/_utils.py
|
||||
index b45d901..bd0f416 100644
|
||||
--- a/pgi/clib/_utils.py
|
||||
+++ b/pgi/clib/_utils.py
|
||||
@@ -31,7 +31,7 @@ class _BaseFinalizer(object):
|
||||
self.ptr = ptr
|
||||
|
||||
def delete(self, deadweakproxy):
|
||||
- type(self)._objects.remove(self)
|
||||
+ self._objects.remove(self)
|
||||
self.destructor(deadweakproxy, self.ptr)
|
||||
|
||||
|
||||
--
|
||||
2.29.2
|
||||
|
||||
Reference in New Issue
Block a user