public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-phply] pr-3: initial import 2144002
@ 2026-06-09 7:24 sudip
0 siblings, 0 replies; only message in thread
From: sudip @ 2026-06-09 7:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-phply
Branch : pr-3
Commit : b9d68d9cc2574dbe0572a4d7585311c8adee5e4d
Author : sudip <sudipshil9862@gmail.com>
Date : 2022-12-12T13:27:21+05:30
Stats : +59/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-phply/c/b9d68d9cc2574dbe0572a4d7585311c8adee5e4d?branch=pr-3
Log:
initial import 2144002
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0c75b63
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/phply-1.2.5.tar.gz
diff --git a/python-phply.spec b/python-phply.spec
new file mode 100644
index 0000000..8d760e5
--- /dev/null
+++ b/python-phply.spec
@@ -0,0 +1,57 @@
+%global pypi_name phply
+%global author viraptor
+
+Name: python-%{pypi_name}
+Version: 1.2.5
+Release: 3%{?dist}
+Summary: PHP parser written in Python using PLY
+
+License: BSD-3-Clause
+URL: https://github.com/%{author}/%{pypi_name}
+Source0: https://github.com/%{author}/%{pypi_name}/archive/refs/tags/%{version}.tar.gz#/%{pypi_name}-%{version}.tar.gz
+
+BuildArch: noarch
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-ply
+
+%description
+phply is a parser for the PHP programming language written using PLY.
+
+%package -n python3-%{pypi_name}
+Summary: %{summary}
+
+%description -n python3-%{pypi_name}
+phply is a parser for the PHP programming language written using PLY
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+
+%build
+%py3_build
+
+%install
+%py3_install
+rm -rf %{buildroot}/%{python3_sitelib}/tests
+
+%check
+%py3_check_import %{pypi_name}
+
+%files -n python%{python3_pkgversion}-%{pypi_name}
+%doc README.md
+%license LICENSE
+%{_bindir}/phplex
+%{_bindir}/phpparse
+%{python3_sitelib}/%{pypi_name}
+%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
+%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}-nspkg.pth
+
+%changelog
+* Sat Nov 26 2022 Sudip Shil <sshil@redhat.com> - 1.2.5-3
+- spec file updated
+
+* Wed Nov 23 2022 Sudip Shil <sshil@redhat.com> - 1.2.5-2
+- spec file updated
+
+* Fri Nov 18 2022 Sudip Shil <sshil@redhat.com> - 1.2.5-1
+- New rpm package submission for Fedora
diff --git a/sources b/sources
new file mode 100644
index 0000000..9de5c03
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (phply-1.2.5.tar.gz) = f0e4d0a6d2dfad5163fb68660602482b6de58c0dbd60d8db2f1df0622a9da3cc24e5fd309299a4a9ccf7abde081644a9a91fac8a2800520859199060f4080dc4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-09 7:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-09 7:24 [rpms/python-phply] pr-3: initial import 2144002 sudip
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox