Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
495273f141 | ||
|
|
f515b5bf8f | ||
|
|
0484bcb9ef |
5 changed files with 37 additions and 18 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +1,2 @@
|
||||||
/academic-admin-0.5.1.tar.gz
|
/academic-admin-0.5.1.tar.gz
|
||||||
|
/hugo-academic-cli-0.8.1.tar.gz
|
||||||
|
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
diff --git a/academic/cli.py b/academic/cli.py
|
|
||||||
index 03f5fce..a64bfb8 100755
|
|
||||||
--- a/academic/cli.py
|
|
||||||
+++ b/academic/cli.py
|
|
||||||
@@ -1,5 +1,3 @@
|
|
||||||
-#!/usr/bin/env python3
|
|
||||||
-
|
|
||||||
import subprocess
|
|
||||||
import sys
|
|
||||||
import os
|
|
||||||
26
academic-admin-0.8.1-dependencies.patch
Normal file
26
academic-admin-0.8.1-dependencies.patch
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
diff -u --recursive hugo-academic-cli-0.8.1-vanilla/Pipfile hugo-academic-cli-0.8.1/Pipfile
|
||||||
|
--- hugo-academic-cli-0.8.1-vanilla/Pipfile 2021-11-29 14:56:51.000000000 -0600
|
||||||
|
+++ hugo-academic-cli-0.8.1/Pipfile 2023-05-23 18:01:32.585050210 -0500
|
||||||
|
@@ -6,8 +6,8 @@
|
||||||
|
[packages]
|
||||||
|
toml = "*"
|
||||||
|
requests = "*"
|
||||||
|
-bibtexparser = "==1.1.0"
|
||||||
|
-"ruamel.yaml" = "==0.16.10"
|
||||||
|
+bibtexparser = ">=1.1.0"
|
||||||
|
+"ruamel.yaml" = ">=0.16.10"
|
||||||
|
|
||||||
|
[dev-packages]
|
||||||
|
pytest = "*"
|
||||||
|
diff -u --recursive hugo-academic-cli-0.8.1-vanilla/setup.py hugo-academic-cli-0.8.1/setup.py
|
||||||
|
--- hugo-academic-cli-0.8.1-vanilla/setup.py 2021-11-29 14:56:51.000000000 -0600
|
||||||
|
+++ hugo-academic-cli-0.8.1/setup.py 2023-05-23 18:01:01.554343034 -0500
|
||||||
|
@@ -13,7 +13,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
version = get_version("academic")
|
||||||
|
-requirements = ["ruamel.yaml==0.16.10", "toml", "requests", "bibtexparser==1.1.0"]
|
||||||
|
+requirements = ["ruamel.yaml>=0.16.10", "toml", "requests", "bibtexparser>=1.1.0"]
|
||||||
|
|
||||||
|
if sys.argv[-1] == "publish":
|
||||||
|
if os.system("pip3 freeze --all | grep wheel"):
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
%global srcname academic-admin
|
%global srcname hugo-academic-cli
|
||||||
|
|
||||||
Name: %{srcname}
|
Name: academic-admin
|
||||||
Version: 0.5.1
|
Version: 0.8.1
|
||||||
Release: %autorelease
|
Release: %autorelease
|
||||||
Summary: Admin tool for the Academic website builder
|
Summary: Admin tool for the Academic website builder
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/sourcethemes/%{srcname}
|
URL: https://github.com/wowchemy/%{srcname}
|
||||||
Source0: https://github.com/sourcethemes/%{srcname}/archive/%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/wowchemy/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||||
Patch0: academic-admin-0.5.1-shebang-fix.patch
|
Patch0: academic-admin-0.8.1-dependencies.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
|
|
@ -17,6 +17,8 @@ BuildRequires: python3-toml
|
||||||
BuildRequires: python3-requests
|
BuildRequires: python3-requests
|
||||||
BuildRequires: python3-bibtexparser
|
BuildRequires: python3-bibtexparser
|
||||||
|
|
||||||
|
Provides: %srcname
|
||||||
|
|
||||||
%description
|
%description
|
||||||
An admin tool for the Academic website builder.
|
An admin tool for the Academic website builder.
|
||||||
|
|
||||||
|
|
@ -29,7 +31,7 @@ An admin tool for the Academic website builder.
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%files -n %{srcname}
|
%files -n academic-admin
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE.md
|
%license LICENSE.md
|
||||||
%{python3_sitelib}/academic-%{version}-py%{python3_version}.egg-info/
|
%{python3_sitelib}/academic-%{version}-py%{python3_version}.egg-info/
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (academic-admin-0.5.1.tar.gz) = 26a84183eaa8dcd9107db0c5d5b70da52cd2478d0b97aee1e0a9f90eb4b6cb3e36166fb43f2db26fd4105eb11f3a38b1a52251c971d25d19b3c38676f9ae50be
|
SHA512 (hugo-academic-cli-0.8.1.tar.gz) = 3900072e129e906d5b1bb619f78f9194fe5f4b60cc802a3d3a5b64f597b93b9ffb6c1fb8e596f1dec23f1d22025875af044ae5b06c287abb80a7c64f3e12d056
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue