summaryrefslogtreecommitdiff
path: root/python-adafruit-bbio.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 05:40:37 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 05:40:37 +0000
commit2fe2f0fc1f3240f392fb3392f9b9cc9ba5877b5e (patch)
tree20ec8577da1fd6ec5493bb98f4892b158627a609 /python-adafruit-bbio.spec
parentc16353c42d4eec8a02136b5405ef998638843635 (diff)
automatic import of python-adafruit-bbioopeneuler20.03
Diffstat (limited to 'python-adafruit-bbio.spec')
-rw-r--r--python-adafruit-bbio.spec171
1 files changed, 171 insertions, 0 deletions
diff --git a/python-adafruit-bbio.spec b/python-adafruit-bbio.spec
new file mode 100644
index 0000000..f99458e
--- /dev/null
+++ b/python-adafruit-bbio.spec
@@ -0,0 +1,171 @@
+%global _empty_manifest_terminate_build 0
+Name: python-Adafruit-BBIO
+Version: 1.2.0
+Release: 1
+Summary: A module to control BeagleBone IO channels
+License: MIT
+URL: https://github.com/adafruit/adafruit-beaglebone-io-python/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/19/db/0d7afa47b97bb3786b564032fe56b0cf2bf7537ef96c24ae1d95fa4c54e9/Adafruit_BBIO-1.2.0.tar.gz
+BuildArch: noarch
+
+
+%description
+Daniel Nguyen (2):
+ Update common.c
+ Update common.c
+Drew Fustini (28):
+ upload to PyPI againt to resolve #293
+ do not set pinmux on the beaglebone blue
+ remove deug output
+ Fix dead link to bone.js #296
+ force Encoder period to be an integer #299
+ Ignore new compiler warnings in gcc 8.2.0
+ Update setup.py
+ do not set pin mode for built-in USRn LEDs
+ Change name of P1_3 to match bone.js
+ Fix warning about casting incompatible function types #308
+ Fix warning print format strings being truncated #308
+ Fix warning about casting incompatible function types #308
+ Fix warnings on format truncation and sizeof in strncpy #308
+ Fix warning about casting incompatible function types #308
+ Update travis config to specify Python 3.6
+ Update tox.ini to Python 3.6
+ Merge pull request #321 from adafruit/issue308
+ Update ISSUE_TEMPLATE.md
+ Update README.md
+ Update README.md
+ Merge pull request #327 from zer0cod3r/master
+ Merge pull request #337 from SamPovilus/docfix
+ Update README.md
+ Update README.md
+ Update README.md
+ remove -Werror from CFLAGS
+ Remove suppression of gcc warnings in CFLAGS #336
+ Update version in setup.py to v1.2
+Sam Povilus (1):
+ fixing document locaiton and version as current location dosn't load
+
+%package -n python3-Adafruit-BBIO
+Summary: A module to control BeagleBone IO channels
+Provides: python-Adafruit-BBIO
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-Adafruit-BBIO
+Daniel Nguyen (2):
+ Update common.c
+ Update common.c
+Drew Fustini (28):
+ upload to PyPI againt to resolve #293
+ do not set pinmux on the beaglebone blue
+ remove deug output
+ Fix dead link to bone.js #296
+ force Encoder period to be an integer #299
+ Ignore new compiler warnings in gcc 8.2.0
+ Update setup.py
+ do not set pin mode for built-in USRn LEDs
+ Change name of P1_3 to match bone.js
+ Fix warning about casting incompatible function types #308
+ Fix warning print format strings being truncated #308
+ Fix warning about casting incompatible function types #308
+ Fix warnings on format truncation and sizeof in strncpy #308
+ Fix warning about casting incompatible function types #308
+ Update travis config to specify Python 3.6
+ Update tox.ini to Python 3.6
+ Merge pull request #321 from adafruit/issue308
+ Update ISSUE_TEMPLATE.md
+ Update README.md
+ Update README.md
+ Merge pull request #327 from zer0cod3r/master
+ Merge pull request #337 from SamPovilus/docfix
+ Update README.md
+ Update README.md
+ Update README.md
+ remove -Werror from CFLAGS
+ Remove suppression of gcc warnings in CFLAGS #336
+ Update version in setup.py to v1.2
+Sam Povilus (1):
+ fixing document locaiton and version as current location dosn't load
+
+%package help
+Summary: Development documents and examples for Adafruit-BBIO
+Provides: python3-Adafruit-BBIO-doc
+%description help
+Daniel Nguyen (2):
+ Update common.c
+ Update common.c
+Drew Fustini (28):
+ upload to PyPI againt to resolve #293
+ do not set pinmux on the beaglebone blue
+ remove deug output
+ Fix dead link to bone.js #296
+ force Encoder period to be an integer #299
+ Ignore new compiler warnings in gcc 8.2.0
+ Update setup.py
+ do not set pin mode for built-in USRn LEDs
+ Change name of P1_3 to match bone.js
+ Fix warning about casting incompatible function types #308
+ Fix warning print format strings being truncated #308
+ Fix warning about casting incompatible function types #308
+ Fix warnings on format truncation and sizeof in strncpy #308
+ Fix warning about casting incompatible function types #308
+ Update travis config to specify Python 3.6
+ Update tox.ini to Python 3.6
+ Merge pull request #321 from adafruit/issue308
+ Update ISSUE_TEMPLATE.md
+ Update README.md
+ Update README.md
+ Merge pull request #327 from zer0cod3r/master
+ Merge pull request #337 from SamPovilus/docfix
+ Update README.md
+ Update README.md
+ Update README.md
+ remove -Werror from CFLAGS
+ Remove suppression of gcc warnings in CFLAGS #336
+ Update version in setup.py to v1.2
+Sam Povilus (1):
+ fixing document locaiton and version as current location dosn't load
+
+%prep
+%autosetup -n Adafruit-BBIO-1.2.0
+
+%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-BBIO -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.0-1
+- Package Spec generated