diff --git a/anda/langs/python/buttplug-py/anda.hcl b/anda/langs/python/buttplug-py/anda.hcl new file mode 100644 index 0000000000..2dc686be7a --- /dev/null +++ b/anda/langs/python/buttplug-py/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "buttplug-py.spec" + } +} diff --git a/anda/langs/python/buttplug-py/buttplug-py.spec b/anda/langs/python/buttplug-py/buttplug-py.spec new file mode 100644 index 0000000000..4b670c8c13 --- /dev/null +++ b/anda/langs/python/buttplug-py/buttplug-py.spec @@ -0,0 +1,46 @@ +%global pypi_name buttplug +%global _desc Python implementation of core message system and client for the Buttplug Sex Toy Protocol Standard. + +Name: python-%{pypi_name} +Version: 1.0.0 +Release: 1%?dist +Summary: Python implementation of core message system and client for the Buttplug Sex Toy Protocol Standard +License: BSD-3-Clause AND MIT AND Apache-2.0 AND X11 +URL: buttplug-py.docs.buttplug.io +Source0: https://github.com/buttplugio/buttplug-py/archive/refs/tags/%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-hatchling + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-py-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md +%license LICENSE + +%changelog +* Fri Apr 17 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/buttplug-py/update.rhai b/anda/langs/python/buttplug-py/update.rhai new file mode 100644 index 0000000000..a4f5f6f8c4 --- /dev/null +++ b/anda/langs/python/buttplug-py/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("buttplug"));