This commit is contained in:
Torsten Kurbad
2023-11-13 14:00:50 +01:00
parent 800fc79e87
commit 73663ebfdb
27 changed files with 880 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
AUX pytouch-cube-9999-linux.diff 646 BLAKE2B e6d48eaad4aa283376539d3dc7c6b097f99081002e7682f93c04501aecee5de04cfe80472da048228e57312e42c7106c0fe766c33162707225c94564bf19b89e SHA512 d33016fa4636ab3f7b56e8020a703daf12a34adbefa1515981ac28b12db3615ff3ead76e6520e6a6fd6a41c7290ad09a530bce89739360a346194456a526f3b9
EBUILD pytouch-cube-9999.ebuild 1278 BLAKE2B 79a58b920260a53994067308cece1152bef806777b1cc68de200344f54ae7025d0daca2199a538051ea505460df8a607389b9d3c7c13451d4db1b7d72bfd010e SHA512 de2fc5f89fce083cae8c8a78319e95424f5d6e56d644c0163692409534374fd24ddd7407275fdef273705582cbfccdee4ba2994142068741c35929ceaabdd153
@@ -0,0 +1,22 @@
diff -urN pytouch-cube-9999.orig/setup.py pytouch-cube-9999/setup.py
--- pytouch-cube-9999.orig/setup.py 2023-11-03 11:19:27.180117075 +0100
+++ pytouch-cube-9999/setup.py 2023-11-03 11:21:07.917408856 +0100
@@ -8,9 +8,6 @@
from setuptools import setup
from util import *
import app
-import site
-
-qt_plugin_root = site.getsitepackages()[1] + "\\PyQt6\\Qt\\plugins"
APP = 'pytouch3.py'
data_files = [
@@ -24,6 +21,8 @@
if is_mac:
setup_requires = ['py2app']
elif is_win:
+ import site
+ qt_plugin_root = site.getsitepackages()[1] + "\\PyQt6\\Qt\\plugins"
kwargs = {
"windows": [{
"script": APP[0],
@@ -0,0 +1,48 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=8
PYTHON_COMPAT=( python3_{9..12} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_SINGLE_IMPL=1
MY_PN="engineering_notation"
inherit distutils-r1
DESCRIPTION="Qt5 Label Editor for Brother P-Touch Cube label maker"
HOMEPAGE="https://github.com/piksel/pytouch-cube"
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/piksel/${PN}.git"
KEYWORDS=""
inherit git-r3
else
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/piksel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
fi
LICENSE="MIT"
SLOT="0"
IUSE=""
RESTRICT="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="$(python_gen_cond_dep '
>=dev-python/PyQt6-6.3[${PYTHON_USEDEP}]
dev-python/altgraph[${PYTHON_USEDEP}]
~dev-python/appdirs-1.4.4[${PYTHON_USEDEP}]
dev-python/packbits[${PYTHON_USEDEP}]
dev-python/pybluez[${PYTHON_USEDEP}]
dev-python/pypng[${PYTHON_USEDEP}]
dev-python/pyserial[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/qasync[${PYTHON_USEDEP}]
dev-python/qrcode[${PYTHON_USEDEP}]
')"
#dev-python/django-qrcode[${PYTHON_USEDEP}]
DEPEND="${RDEPEND}"
PATCHES="${FILESDIR}/${P}-linux.diff"