mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
(cherry picked from commit cd3b4fa716)
Signed-off-by: madomado <madonuko@outlook.com>
Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "python-yt-dlp-ejs.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
Name: python-yt-dlp-ejs
|
||||
Version: 0.3.0
|
||||
Release: %autorelease
|
||||
Summary: External JavaScript for yt-dlp supporting many runtimes
|
||||
|
||||
License: Unlicense AND MIT AND ISC
|
||||
URL: https://github.com/yt-dlp/ejs
|
||||
Source: %{pypi_source yt_dlp_ejs}
|
||||
Packager: madonuko <mado@fyralabs.com>
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3dist(pip)
|
||||
BuildRequires: python3dist(hatch-vcs)
|
||||
BuildRequires: (deno or bun or nodejs-npm)
|
||||
|
||||
|
||||
%global _description %{expand:
|
||||
%summary.}
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python3-yt-dlp-ejs
|
||||
Summary: %{summary}
|
||||
Provides: yt-dlp-ejs = %evr
|
||||
|
||||
%description -n python3-yt-dlp-ejs %_description
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n yt_dlp_ejs-%{version}
|
||||
|
||||
|
||||
#generate_buildrequires
|
||||
#pyproject_buildrequires
|
||||
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files -l yt_dlp_ejs
|
||||
|
||||
|
||||
%check
|
||||
%pyproject_check_import
|
||||
|
||||
|
||||
%files -n python3-yt-dlp-ejs -f %{pyproject_files}
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(pypi("yt-dlp-ejs"));
|
||||
@@ -8,10 +8,9 @@ Summary: A command-line program to download videos from online video plat
|
||||
|
||||
License: Unlicense
|
||||
URL: https://github.com/yt-dlp/yt-dlp
|
||||
# License of the specfile
|
||||
Source: https://src.fedoraproject.org/rpms/yt-dlp/raw/rawhide/f/yt-dlp.spec.license
|
||||
|
||||
BuildArch: noarch
|
||||
Packager: madonuko <mado@fyralabs.com>
|
||||
Requires: deno
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3dist(hatchling)
|
||||
@@ -31,6 +30,7 @@ BuildRequires: anda-srpm-macros
|
||||
# ffmpeg-free is now available in Fedora.
|
||||
Recommends: /usr/bin/ffmpeg
|
||||
Recommends: /usr/bin/ffprobe
|
||||
Recommends: yt-dlp-ejs
|
||||
|
||||
Conflicts: yt-dlp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user