mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-13 17:13:00 -04:00
dev-python/clickgen: treeclean
Signed-off-by: Alexey Zapparov <alexey@zapparov.com>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST clickgen-1.1.9.tar.gz 1616607 BLAKE2B f16dabff6ded51833b79de5441753959643e1542ae56b979f2a88532e29e3a37d1454d3317027e265774ac4140f957b56d7d8c373991485e27f546d208893e4f SHA512 6823733a73cc4f023641325d4b53ea54b579b8168906680d2e5b071a27974b63dac9828c13d14fc73ae8c16844f47f1ed477e8de76352522bfd9abe4de53ffd3
|
||||
@@ -1,40 +0,0 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="X11 & Windows cursor building API"
|
||||
HOMEPAGE="https://github.com/ful1e5/clickgen https://pypi.org/project/clickgen/"
|
||||
SRC_URI="https://github.com/ful1e5/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="
|
||||
media-libs/libpng
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcursor
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-flags.patch )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme
|
||||
|
||||
src_configure() {
|
||||
distutils-r1_src_configure
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
emake -C xcursorgen
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
--- a/xcursorgen/makefile
|
||||
+++ b/xcursorgen/makefile
|
||||
@@ -1,12 +1,12 @@
|
||||
all: xcursorgen.so
|
||||
|
||||
-CC= gcc
|
||||
+CC ?= gcc
|
||||
LIBS= -lX11 -lXcursor -lpng -lz
|
||||
OUT_DIR= ../clickgen
|
||||
CP= cp -f
|
||||
|
||||
xcursorgen.so: xcursorgen.c
|
||||
- $(CC) -Wl,-zdefs -shared -o xcursorgen.so -fPIC xcursorgen.c $(LIBS)
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -Wl,-zdefs -shared -o xcursorgen.so -fPIC xcursorgen.c $(LIBS)
|
||||
$(CP) xcursorgen.so $(OUT_DIR)/xcursorgen.so
|
||||
|
||||
clean:
|
||||
@@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>alexey@zapparov.com</email>
|
||||
<name>Alexey Zapparov</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/ful1e5/clickgen/issues</bugs-to>
|
||||
<changelog>https://github.com/ful1e5/clickgen/blob/main/CHANGELOG.md</changelog>
|
||||
<remote-id type="github">ful1e5/clickgen</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user