mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 07:08:13 -07:00
dev-python/qtsass: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST qtsass-0.3.0.tar.gz 27880 BLAKE2B 07f71e794392ee23db901b1ae74e4c8a8888040b3e5b0681e05e2aa22ec2bdc958e588e2ee9ca9e5fdb4d341827b7c39a4ceb589ed4c669454cae78ee9747883 SHA512 fc3e082a01b35d1e7cada22cd5bea2aed37d4d3dd5a036d3d6d7621fb64ac61fdb3f2358f377f69e2cc5678798069af1d7cce04c4bcb9edf390d5162d308389c
|
||||
DIST qtsass-0.3.1.gh.tar.gz 28048 BLAKE2B d9f59898fcf7b825b515047f8a4e7db3dbd29c3133bbf1d65c5423b49ac2963786b83c0edefc1a596145f034e143362176d6fca965fa0899d6857073223e0d26 SHA512 7d7f65048d9944e80009edc2dcd9e4cd673e35d672d4424a4de5af7982604891452ecb7fb78e50bfc4f0cd3b5060eccad9db18bdd38c9900d9a3013753237e94
|
||||
DIST qtsass-0.3.2.gh.tar.gz 28601 BLAKE2B a02a21fb80d977cff09d3af74f50b68f341163997b68bb0eddf8aa5011b523992ef33f8d7afb8ee8361261c9ae7c45c5a141cfc957fdd3e10dc07ceafac06101 SHA512 2939ac9b2536148541abda4f3ea2750e814054c70a96614880453bf1443643e463fda9d2d308b3051461f88b4cf53046fc2ea057b62a2190b70a4b3f6daf033b
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
From cbea8d8729282106373a12b9e08bcaac8abeb52f Mon Sep 17 00:00:00 2001
|
||||
From: goanpeca <goanpeca@gmail.com>
|
||||
Date: Tue, 24 Mar 2020 11:51:28 -0500
|
||||
Subject: [PATCH] Add check for deprecated api between 2 and 3 versions
|
||||
|
||||
---
|
||||
qtsass/api.py | 8 +++++++-
|
||||
1 file changed, 7 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/qtsass/api.py b/qtsass/api.py
|
||||
index 7ea4138..7a65fe2 100644
|
||||
--- a/qtsass/api.py
|
||||
+++ b/qtsass/api.py
|
||||
@@ -13,9 +13,9 @@
|
||||
from __future__ import absolute_import, print_function
|
||||
|
||||
# Standard library imports
|
||||
-from collections import Mapping, Sequence
|
||||
import logging
|
||||
import os
|
||||
+import sys
|
||||
|
||||
# Third party imports
|
||||
import sass
|
||||
@@ -26,6 +26,12 @@
|
||||
from qtsass.importers import qss_importer
|
||||
|
||||
|
||||
+if sys.version_info[0] == 3:
|
||||
+ from collections.abc import Mapping, Sequence
|
||||
+else:
|
||||
+ from collections import Mapping, Sequence
|
||||
+
|
||||
+
|
||||
# yapf: enable
|
||||
|
||||
# Constants
|
||||
@@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Compile SASS files to Qt stylesheets"
|
||||
HOMEPAGE="https://github.com/spyder-ide/qtsass"
|
||||
SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RDEPEND="dev-python/libsass[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-fix-py3.10.patch"
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# assert 1 == 2
|
||||
tests/test_watchers.py::test_watchers
|
||||
)
|
||||
@@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Compile SASS files to Qt stylesheets"
|
||||
HOMEPAGE="https://github.com/spyder-ide/qtsass"
|
||||
SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="dev-python/libsass[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
Reference in New Issue
Block a user