From 48627344edaff2b996f0f9bda14955d35ecfeec5 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 9 Jun 2023 07:12:01 +0000 Subject: automatic import of python-adafruit-circuitpython-is31fl3731 --- .gitignore | 1 + python-adafruit-circuitpython-is31fl3731.spec | 99 +++++++++++++++++++++++++++ sources | 1 + 3 files changed, 101 insertions(+) create mode 100644 python-adafruit-circuitpython-is31fl3731.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..660ed35 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/adafruit-circuitpython-is31fl3731-3.3.9.tar.gz diff --git a/python-adafruit-circuitpython-is31fl3731.spec b/python-adafruit-circuitpython-is31fl3731.spec new file mode 100644 index 0000000..ba9f05a --- /dev/null +++ b/python-adafruit-circuitpython-is31fl3731.spec @@ -0,0 +1,99 @@ +%global _empty_manifest_terminate_build 0 +Name: python-adafruit-circuitpython-is31fl3731 +Version: 3.3.9 +Release: 1 +Summary: CircuitPython library for IS31FL3731 charlieplex LED matrices. +License: MIT +URL: https://github.com/adafruit/Adafruit_CircuitPython_IS31FL3731 +Source0: https://mirrors.aliyun.com/pypi/web/packages/fa/40/42c60a9b4431c9d7d289cc9ba439aa43197b2c0a2afd93674892f431b87f/adafruit-circuitpython-is31fl3731-3.3.9.tar.gz +BuildArch: noarch + +Requires: python3-Adafruit-Blinka +Requires: python3-adafruit-circuitpython-busdevice +Requires: python3-adafruit-circuitpython-framebuf + +%description +CircuitPython driver for the IS31FL3731 charlieplex IC. +This driver supports the following hardware: +* `Adafruit 16x9 Charlieplexed PWM LED Matrix Driver - IS31FL3731 `_ +* `Adafruit 15x7 CharliePlex LED Matrix Display FeatherWings `_ +* `Adafruit 16x8 CharliePlex LED Matrix Bonnets `_ +* `Pimoroni 17x7 Scroll pHAT HD `_ +* `Pimoroni 28x3 (r,g,b) Led Shim `_ +* `Pimoroni Keybow 2040 with 4x4 matrix of RGB LEDs `_ +* `Pimoroni 5x5 RGB Matrix Breakout `_ + +%package -n python3-adafruit-circuitpython-is31fl3731 +Summary: CircuitPython library for IS31FL3731 charlieplex LED matrices. +Provides: python-adafruit-circuitpython-is31fl3731 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-adafruit-circuitpython-is31fl3731 +CircuitPython driver for the IS31FL3731 charlieplex IC. +This driver supports the following hardware: +* `Adafruit 16x9 Charlieplexed PWM LED Matrix Driver - IS31FL3731 `_ +* `Adafruit 15x7 CharliePlex LED Matrix Display FeatherWings `_ +* `Adafruit 16x8 CharliePlex LED Matrix Bonnets `_ +* `Pimoroni 17x7 Scroll pHAT HD `_ +* `Pimoroni 28x3 (r,g,b) Led Shim `_ +* `Pimoroni Keybow 2040 with 4x4 matrix of RGB LEDs `_ +* `Pimoroni 5x5 RGB Matrix Breakout `_ + +%package help +Summary: Development documents and examples for adafruit-circuitpython-is31fl3731 +Provides: python3-adafruit-circuitpython-is31fl3731-doc +%description help +CircuitPython driver for the IS31FL3731 charlieplex IC. +This driver supports the following hardware: +* `Adafruit 16x9 Charlieplexed PWM LED Matrix Driver - IS31FL3731 `_ +* `Adafruit 15x7 CharliePlex LED Matrix Display FeatherWings `_ +* `Adafruit 16x8 CharliePlex LED Matrix Bonnets `_ +* `Pimoroni 17x7 Scroll pHAT HD `_ +* `Pimoroni 28x3 (r,g,b) Led Shim `_ +* `Pimoroni Keybow 2040 with 4x4 matrix of RGB LEDs `_ +* `Pimoroni 5x5 RGB Matrix Breakout `_ + +%prep +%autosetup -n adafruit-circuitpython-is31fl3731-3.3.9 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-adafruit-circuitpython-is31fl3731 -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri Jun 09 2023 Python_Bot - 3.3.9-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..7156cd1 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +be5c70640c65fd7ba2a50d64a5eedfe4 adafruit-circuitpython-is31fl3731-3.3.9.tar.gz -- cgit v1.2.3