mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 01:23:23 -04:00
dev-python/cymem: treeclean
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
DIST cymem-2.0.6.tar.gz 8241 BLAKE2B 359c1cee8b3d01a2e659898992c22da7f7e3fab0ae5481d328f660c314a0dde85ca868e63e2c1b55b3624e568f369b8e993da04fa30c2ea79d21472cc6c1f7b0 SHA512 058fef116e02a38960017bfb4347f625fd5bda39cc239c8b434c7c928a9303678e1689ae5860181750fa23d8ee7a0bce1836c33420b6b4799d297df85f2b64e7
|
||||
DIST cymem-2.0.7.tar.gz 9911 BLAKE2B 3a54b97e283cf1c7935ff71af9144ed02ec37f85394d75bffa22c162b0d7548f1a0d74c8266d5b634a66dabebc90419fe34d2ade388a9379e2660665aeb27122 SHA512 bc5f95eef51044db48a3bfd4c4db1955dee6fb62f7bd16c103c957d77cec9192a8e11411b84a3449629015a080217ee2e52cca69867f70170498333648f18d0c
|
||||
@@ -1,28 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( pypy3 python3_{8..11} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Manage calls to calloc/free through Cython"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/cymem/
|
||||
https://github.com/explosion/cymem
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="dev-python/cython[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
cd "${T}" || die
|
||||
epytest --pyargs ${PN}
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( pypy3 python3_{8..11} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Manage calls to calloc/free through Cython"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/cymem/
|
||||
https://github.com/explosion/cymem
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
BDEPEND="dev-python/cython[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/cymem-2.0.7-flags.patch )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
cd "${T}" || die
|
||||
epytest --pyargs ${PN}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
Don't overwrite user optimizations
|
||||
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -18,7 +18,7 @@ MOD_NAMES = ["cymem.cymem"]
|
||||
# http://stackoverflow.com/questions/724664/python-distutils-how-to-get-a-compiler-that-is-going-to-be-used
|
||||
compile_options = {
|
||||
"msvc": ["/Ox", "/EHsc"],
|
||||
- "other": ["-O3", "-Wno-strict-prototypes", "-Wno-unused-function"],
|
||||
+ "other": ["-Wno-strict-prototypes", "-Wno-unused-function"],
|
||||
}
|
||||
link_options = {"msvc": [], "other": []}
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">cymem</remote-id>
|
||||
<remote-id type="github">explosion/cymem</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user