diff --git a/pysmi-0.3.4.tar.gz b/pysmi-0.3.4.tar.gz deleted file mode 100644 index 9a62bc56c6cc19cdd61746370fea71ee757f641d..0000000000000000000000000000000000000000 Binary files a/pysmi-0.3.4.tar.gz and /dev/null differ diff --git a/pysmi-1.5.0.tar.gz b/pysmi-1.5.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..20fc72c17992d057c59c8f6f991c392ae55d5837 Binary files /dev/null and b/pysmi-1.5.0.tar.gz differ diff --git a/python-pysmi.spec b/python-pysmi.spec index b0883527f26c15f8f526bf418cf4f152a1e9ebc5..e2b761bccb259c8a4539aa0b38809f60603f0a20 100644 --- a/python-pysmi.spec +++ b/python-pysmi.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-pysmi -Version: 0.3.4 -Release: 2 +Version: 1.5.0 +Release: 1 Summary: SNMP SMI/MIB Parser License: BSD-2-Clause -URL: https://github.com/etingof/pysmi -Source0: https://files.pythonhosted.org/packages/52/42/ddaeb06ff551672b17b77f81bc2e26b7c6060b28fe1552226edc6476ce37/pysmi-0.3.4.tar.gz +URL: https://github.com/lextudio/pysmi +Source0: https://files.pythonhosted.org/packages/source/p/pysmi/pysmi-%{version}.tar.gz BuildArch: noarch Requires: python3-ply @@ -13,37 +13,31 @@ Requires: python3-ply %description A pure-Python implementation of SNMP/SMI MIB parsing and conversion library. - - - %package -n python3-pysmi Summary: SNMP SMI/MIB Parser Provides: python-pysmi BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-poetry-core %description -n python3-pysmi A pure-Python implementation of SNMP/SMI MIB parsing and conversion library. - - - %package help Summary: Development documents and examples for pysmi Provides: python3-pysmi-doc %description help A pure-Python implementation of SNMP/SMI MIB parsing and conversion library. - - - %prep -%autosetup -n pysmi-0.3.4 +%autosetup -n pysmi-%{version} %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_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 @@ -72,11 +66,26 @@ mv %{buildroot}/doclist.lst . %files -n python3-pysmi -f filelist.lst %dir %{python3_sitelib}/* +%{python3_sitelib}/pysmi/ %files help -f doclist.lst %{_docdir}/* %changelog +* Fri Sep 06 2024 yaoxin - 1.5.0-1 +- Update to 1.5.0: + * Better formatting of texts in MIB documents. + * Reworked on reserved Python keywords handling. + * Fixed TEXTUAL-CONVENTION handling. + * Fixed DEFVAL handling. + * Added cyclic dependency detection. + * Other fixes and improvements for real-world MIBs. + * Removed package postfix. A helper release to enable migration. + * Implemented a better strict mode. + * Fixed old Python version support. + * Changed compiled Python file header comment style. +- Please see log: https://docs.lextudio.com/pysmi/changelog + * Mon May 9 2022 yaoxin - 0.3.4-2 - License compliance rectification diff --git a/python-pysmi.yaml b/python-pysmi.yaml new file mode 100644 index 0000000000000000000000000000000000000000..199a44b223f84160db0bcea493d39541cdcf27cf --- /dev/null +++ b/python-pysmi.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: lextudio/pysmi +tag_pattern: "^v" +seperator: "."