1 Star 0 Fork 10

安云皓/python-pg8000

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
python-pg8000.spec 1.37 KB
一键复制 编辑 原始数据 按行查看 历史
安云皓 提交于 2021-07-20 13:40 +08:00 . Package init
%global srcname pg8000
Name: python-%{srcname}
Version: 1.17.0
Release: 1
Summary: Pure Python PostgreSQL Driver
License: BSD
URL: http://github.com/tlocke/pg8000/
Source0: %{pypi_source}
BuildArch: noarch
%description
pg8000 is a pure-Python PostgreSQL driver that complies with DB-API 2.0.
The driver communicates with the database using the PostgreSQL Backend and
Frontend Protocol.
%package -n python%{python3_pkgversion}-%{srcname}
Summary: Pure Python3 PostgreSQL Driver
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-six
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python3-scramp
Requires: python%{python3_pkgversion}-six
Requires: python3-scramp
%description -n python%{python3_pkgversion}-%{srcname}
pg8000 is a pure Python3 PostgreSQL driver that complies with DB-API 2.0.
The driver communicates with the database using the PostgreSQL Backend /
Frontend Protocol.
%prep
%autosetup -n %{srcname}-%{version}
%build
%py3_build
%install
%py3_install
%check
#Test requires a runing PostgreSQL instance
%files -n python%{python3_pkgversion}-%{srcname}
%license LICENSE
%{python3_sitelib}/%{srcname}-*.egg-info/
%{python3_sitelib}/%{srcname}
%changelog
* Tue Jul 20 2021 anyunhao<anyunhao@kylinos.cn> - 1.7.0-1
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/an-yunhao/python-pg8000.git
git@gitee.com:an-yunhao/python-pg8000.git
an-yunhao
python-pg8000
python-pg8000
master

搜索帮助